Sha256: 4c9a4d23044c9f0e9fb9966dc1e0f8e0d45d71de0066e431b828d01623e22380

Contents?: true

Size: 308 Bytes

Versions: 11

Compression:

Stored size: 308 Bytes

Contents

module Octobat
  module APIOperations
    module Delete
      def delete(params = {}, opts={})
        api_key, headers = Util.parse_opts(opts)
        response, api_key = Octobat.request(:delete, url, api_key || @api_key, params, headers)
        refresh_from(response, api_key)
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
octobat-0.0.12 lib/octobat/api_operations/delete.rb
octobat-0.0.11 lib/octobat/api_operations/delete.rb
octobat-0.0.10 lib/octobat/api_operations/delete.rb
octobat-0.0.9 lib/octobat/api_operations/delete.rb
octobat-0.0.8 lib/octobat/api_operations/delete.rb
octobat-0.0.7 lib/octobat/api_operations/delete.rb
octobat-0.0.6 lib/octobat/api_operations/delete.rb
octobat-0.0.5 lib/octobat/api_operations/delete.rb
octobat-0.0.4 lib/octobat/api_operations/delete.rb
octobat-0.0.3 lib/octobat/api_operations/delete.rb
octobat-0.0.2 lib/octobat/api_operations/delete.rb