Class: Hcloud::Image
- Inherits:
-
Object
- Object
- Hcloud::Image
- Includes:
- EntryLoader
- Defined in:
- lib/hcloud/image.rb
Instance Attribute Summary
Attributes included from EntryLoader
Instance Method Summary collapse
Methods included from EntryLoader
#_attributes, #_load, #_run_callbacks, #_update_attribute, #client, #initialize, #inspect, #method_missing, #prepare_request, #resource_path, #resource_url, #respond_to_missing?, #rollback, #save, #update
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Hcloud::EntryLoader
Instance Method Details
#to_snapshot ⇒ Object
18 19 20 |
# File 'lib/hcloud/image.rb', line 18 def to_snapshot update(type: 'snapshot') end |