Class: EPIC::NAs
- Inherits:
-
Collection
- Object
- Resource
- Collection
- EPIC::NAs
- Defined in:
- src/epic_nas.rb
Constant Summary
Constant Summary
Constants inherited from Resource
Resource::GLOBAL_LOCK_HASH, Resource::GLOBAL_LOCK_MUTEX
Instance Attribute Summary
Attributes included from Rackful::Resource
#get_etag, #get_last_modified, #path
Instance Method Summary (collapse)
Methods inherited from Collection
#recurse?, #to_rackful, #xhtml
Methods inherited from Resource
#initialize, #lock, lock, #unlock, #xhtml
Methods included from Rackful::Resource
#default_headers, #destroy, #do_METHOD, #empty?, #http_DELETE, #http_GET, #http_HEAD, #http_OPTIONS, #http_PUT, #http_method, #http_methods, included, #requested?, #serializer, #title, #to_rackful, #to_struct
Constructor Details
This class inherits a constructor from EPIC::Resource
Instance Method Details
- (void) each
24 25 26 27 28 29 |
# File 'src/epic_nas.rb', line 24 def each DB.instance.all_nas.each do |na| yield Rackful::Path.new( self.path + escape_path( na[5..-1] ) + '/' ) end end |