Sha256: fa428df751eccc14251e89ad6fec260ca23848df3fc6beec0e747e5a330f2fe4
Contents?: true
Size: 471 Bytes
Versions: 9
Compression:
Stored size: 471 Bytes
Contents
module Octobat class TaxEvidenceRequest < APIResource include Octobat::APIOperations::Create def self.for_supplier(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 + '/for_supplier', api_key, params, opts) instance.refresh_from(response, api_key) instance end end end
Version data entries
9 entries across 9 versions & 1 rubygems