Sha256: 1864368d50b708ee5f08b5ca357fcd36169e775dc23790fcf34e92a3e66d61f8
Contents?: true
Size: 379 Bytes
Versions: 3
Compression:
Stored size: 379 Bytes
Contents
module Octobat class TaxId < APIResource extend Octobat::APIOperations::List include Octobat::APIOperations::Create include Octobat::APIOperations::Update def archive response, api_key = Octobat.request(:patch, archive_url, @api_key) refresh_from(response, api_key) end private def archive_url url + '/archive' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
octobat-2.0.18 | lib/octobat/tax_id.rb |
octobat-2.0.17 | lib/octobat/tax_id.rb |
octobat-2.0.16 | lib/octobat/tax_id.rb |