Sha256: 64e4f98dac235bfa03f8f06dd369f8fd83e832c959c291e50bb881c3b7504f7f
Contents?: true
Size: 334 Bytes
Versions: 4
Compression:
Stored size: 334 Bytes
Contents
module Pingpp class Transfer < APIResource extend Pingpp::APIOperations::Create extend Pingpp::APIOperations::List include Pingpp::APIOperations::Update def self.resource_url(opts={}) '/v1/transfers' end def self.cancel(id, opts={}) update(id, {:status => 'canceled'}, opts) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pingpp-2.2.0 | lib/pingpp/transfer.rb |
pingpp-2.1.3 | lib/pingpp/transfer.rb |
pingpp-2.1.1 | lib/pingpp/transfer.rb |
pingpp-2.1.0 | lib/pingpp/transfer.rb |