Method: PrintfulAPI::Country.list
- Defined in:
- lib/printful_api/country.rb
.list(filters = {}, opts = {}) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/printful_api/country.rb', line 9 def self.list( filters={}, opts={} ) taxable = filters.delete(:taxable) puts "Country.list taxable: #{taxable}, #{filters}, #{opts}" if taxable super( filters, opts.merge( resource_path: '/tax/countries' ) ) else super( filters, opts ) end end |