Sha256: 4c28302deb7b41b84c48f4887006e3e8cf23fc9b25badd23efb3a7eac6498495

Contents?: true

Size: 349 Bytes

Versions: 7

Compression:

Stored size: 349 Bytes

Contents

module Vhx
  module ApiOperations
    module Delete
      module ClassMethods
        def delete(identifier, payload = {})
          Vhx.connection.delete(get_hypermedia(identifier), payload)
        end
      end

      def self.included(klass)
        klass.extend(Vhx::HelperMethods)
        klass.extend(ClassMethods)
      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/delete.rb
vhx-ruby-0.0.7 lib/vhx/utilities/api_operations/delete.rb
vhx-ruby-0.0.6 lib/vhx/utilities/api_operations/delete.rb
vhx-ruby-0.0.5 lib/vhx/utilities/api_operations/delete.rb
vhx-ruby-0.0.4 lib/vhx/utilities/api_operations/delete.rb
vhx-ruby-0.0.3 lib/vhx/utilities/api_operations/delete.rb
vhx-ruby-0.0.2 lib/vhx/utilities/api_operations/delete.rb