Sha256: 2658be8f8cbdcdd0983e7a55f8de2e7e97f67c0a70e52e29b1e2b7ee90ec07f0

Contents?: true

Size: 317 Bytes

Versions: 27

Compression:

Stored size: 317 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

27 entries across 27 versions & 1 rubygems

Version Path
octobat-2.0.27 lib/octobat/api_operations/delete.rb
octobat-2.0.26 lib/octobat/api_operations/delete.rb
octobat-2.0.25 lib/octobat/api_operations/delete.rb
octobat-2.0.24 lib/octobat/api_operations/delete.rb
octobat-2.0.23 lib/octobat/api_operations/delete.rb
octobat-2.0.22 lib/octobat/api_operations/delete.rb
octobat-2.0.21 lib/octobat/api_operations/delete.rb
octobat-2.0.20 lib/octobat/api_operations/delete.rb
octobat-2.0.19 lib/octobat/api_operations/delete.rb
octobat-2.0.18 lib/octobat/api_operations/delete.rb
octobat-2.0.17 lib/octobat/api_operations/delete.rb
octobat-2.0.16 lib/octobat/api_operations/delete.rb
octobat-2.0.15 lib/octobat/api_operations/delete.rb
octobat-2.0.14 lib/octobat/api_operations/delete.rb
octobat-2.0.12 lib/octobat/api_operations/delete.rb
octobat-2.0.11 lib/octobat/api_operations/delete.rb
octobat-2.0.10 lib/octobat/api_operations/delete.rb
octobat-2.0.9 lib/octobat/api_operations/delete.rb
octobat-2.0.8 lib/octobat/api_operations/delete.rb
octobat-2.0.7 lib/octobat/api_operations/delete.rb