Sha256: 696dd612745e2004470d9b30b94f5865231a0b35008370642aba293bc9484afa

Contents?: true

Size: 231 Bytes

Versions: 4

Compression:

Stored size: 231 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
peakium-0.1.4 lib/peakium/api_operations/delete.rb
peakium-0.1.3 lib/peakium/api_operations/delete.rb
peakium-0.1.2 lib/peakium/api_operations/delete.rb
peakium-0.1.1 lib/peakium/api_operations/delete.rb