Sha256: 7d5061701ecec34f9b2059b068c34a49acdd6a98d3ce9221d0b4aa6954312f98
Contents?: true
Size: 598 Bytes
Versions: 10
Compression:
Stored size: 598 Bytes
Contents
module Octobat class Transaction < APIResource extend Octobat::APIOperations::List include Octobat::APIOperations::Create include Octobat::APIOperations::Update def items(params = {}) Item.list(params.merge({ :transaction => id }), @api_key) end def self.csv_export(params = {}, opts={}) api_key, headers = Util.parse_opts(opts) api_key ||= @api_key opts[:api_key] = api_key instance = self.new(nil, opts) response, api_key = Octobat.request(:post, url + '/csv_export', api_key, params) return true end end end
Version data entries
10 entries across 10 versions & 1 rubygems