Sha256: 154965dfbe73217575ea065b118a1c9259ef920d020132a4f109a4d9283d978d
Contents?: true
Size: 517 Bytes
Versions: 3
Compression:
Stored size: 517 Bytes
Contents
module Smartdc::Api module Machines::Tags def machine_tags(machine_id, params={}) get 'my/machines/' + machine_id.to_s + '/tags', params end def create_machine_tag(machine_id, body={}) post 'my/machines/' + machine_id.to_s + '/tags', body end def machine_tag(machine_id, key) get 'my/machines/' + machine_id.to_s + '/tags/' + key.to_s end def destroy_machine_tag(machine_id, key) delete 'my/machines/' + machine_id.to_s + '/tags/' + key.to_s end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
smartdc-2.0.2 | lib/smartdc/api/machines/tags.rb |
smartdc-2.0.1 | lib/smartdc/api/machines/tags.rb |
smartdc-2.0.0 | lib/smartdc/api/machines/tags.rb |