Sha256: 20727616ee24cb1d8048deb4f42dd34979438ed5a365ba5dfd784beb89efd9b6

Contents?: true

Size: 422 Bytes

Versions: 3

Compression:

Stored size: 422 Bytes

Contents

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

      def self.included(klass)
        klass.extend(Vhx::HelperMethods)
        klass.extend(ClassMethods)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vhx-ruby-0.0.12 lib/vhx/utilities/api_operations/delete.rb
vhx-ruby-0.0.10 lib/vhx/utilities/api_operations/delete.rb
vhx-ruby-0.0.9 lib/vhx/utilities/api_operations/delete.rb