Class: SimpleStack::Snapshot
- Defined in:
- lib/simple_stack/snapshot.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
#revert ⇒ Object
7 8 9 |
# File 'lib/simple_stack/snapshot.rb', line 7 def revert hypervisor.put "#{url}/revert", {} end |
#use ⇒ Object
3 4 5 |
# File 'lib/simple_stack/snapshot.rb', line 3 def use revert end |