Sha256: 306cc77d72b64ca9dc6c07bc02d0f2421f53b9e62a3ceec3e54b8dd0e36d5572

Contents?: true

Size: 228 Bytes

Versions: 6

Compression:

Stored size: 228 Bytes

Contents

module Rainforest
  module APIOperations
    module Delete
      def delete
        response, api_key = Rainforest.request(:delete, url, @api_key)
        refresh_from(response, api_key)
        self
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rainforest-1.0.7 lib/rainforest/api_operations/delete.rb
rainforest-1.0.6 lib/rainforest/api_operations/delete.rb
rainforest-1.0.5 lib/rainforest/api_operations/delete.rb
rainforest-1.0.4 lib/rainforest/api_operations/delete.rb
rainforest-1.0.3 lib/rainforest/api_operations/delete.rb
rainforest-1.0.1 lib/rainforest/api_operations/delete.rb