Class: SimpleStack::Network
- Defined in:
- lib/simple_stack/network.rb
Instance Attribute Summary
Attributes inherited from Entity
Instance Method Summary collapse
Methods inherited from Entity
#connection, #delete, #info, #initialize, #inspect, #method_missing, #update
Methods included from Cacheable
#cacheable?, #cached_attributes, #reload
Constructor Details
This class inherits a constructor from SimpleStack::Entity
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class SimpleStack::Entity
Instance Method Details
#networks ⇒ Object
3 4 5 |
# File 'lib/simple_stack/network.rb', line 3 def networks cached_attributes[:networks] ||= SimpleStack::Collection.new hypervisor, self, "#{url}/networks", SimpleStack::Network end |