Sha256: 6c10a8cdc697856878afa9f17af861da8083ce4b6ad2c558f3dd83d64b728b0a

Contents?: true

Size: 278 Bytes

Versions: 7

Compression:

Stored size: 278 Bytes

Contents

module Vhx
  module ApiOperations
    module Update
      module InstanceMethods
        def update(payload)
          Vhx.connection.put(self.href, payload)
        end
      end

      def self.included(klass)
        klass.include(InstanceMethods)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vhx-ruby-0.0.8 lib/vhx/utilities/api_operations/update.rb
vhx-ruby-0.0.7 lib/vhx/utilities/api_operations/update.rb
vhx-ruby-0.0.6 lib/vhx/utilities/api_operations/update.rb
vhx-ruby-0.0.5 lib/vhx/utilities/api_operations/update.rb
vhx-ruby-0.0.4 lib/vhx/utilities/api_operations/update.rb
vhx-ruby-0.0.3 lib/vhx/utilities/api_operations/update.rb
vhx-ruby-0.0.2 lib/vhx/utilities/api_operations/update.rb