Class: Fog::DNS::StormOnDemand::Record
- Inherits:
-
Model
- Object
- Model
- Fog::DNS::StormOnDemand::Record
- Defined in:
- lib/fog/dns/storm_on_demand/models/record.rb
Instance Method Summary collapse
- #create_region(options) ⇒ Object
- #delete_region(options) ⇒ Object
- #destroy ⇒ Object
- #update(options = {}) ⇒ Object
- #update_region(options) ⇒ Object
Instance Method Details
#create_region(options) ⇒ Object
37 38 39 40 41 |
# File 'lib/fog/dns/storm_on_demand/models/record.rb', line 37 def create_region() requires :identity service.create_record_region({:record_id => identity}.merge!()) true end |
#delete_region(options) ⇒ Object
43 44 45 46 |
# File 'lib/fog/dns/storm_on_demand/models/record.rb', line 43 def delete_region() requires :identity service.delete_record_region({:record_id => identity}.merge!()) end |
#destroy ⇒ Object
25 26 27 28 29 |
# File 'lib/fog/dns/storm_on_demand/models/record.rb', line 25 def destroy requires :identity service.delete_record(:id => identity) true end |
#update(options = {}) ⇒ Object
31 32 33 34 35 |
# File 'lib/fog/dns/storm_on_demand/models/record.rb', line 31 def update( = {}) requires :identity service.update_record({:id => identity}.merge!()) true end |
#update_region(options) ⇒ Object
48 49 50 51 |
# File 'lib/fog/dns/storm_on_demand/models/record.rb', line 48 def update_region() requires :identity service.update_record_region({:record_id => identity}.merge!()) end |