class Clayful::TaxCategory

Public Class Methods

count(*args) click to toggle source
# File lib/models/tax_category.rb, line 16
def self.count(*args)

        Clayful.call_api({
                'model_name'       => @@name,
                'method_name'      => 'count',
                'http_method'      => 'GET',
                'path'             => '/v1/taxes/categories/count',
                'params'           => [],
                'args'             => args
        })

end
get(*args) click to toggle source
# File lib/models/tax_category.rb, line 29
def self.get(*args)

        Clayful.call_api({
                'model_name'       => @@name,
                'method_name'      => 'get',
                'http_method'      => 'GET',
                'path'             => '/v1/taxes/categories/{taxCategoryId}',
                'params'           => ['taxCategoryId', ],
                'args'             => args
        })

end
list(*args) click to toggle source
# File lib/models/tax_category.rb, line 42
def self.list(*args)

        Clayful.call_api({
                'model_name'       => @@name,
                'method_name'      => 'list',
                'http_method'      => 'GET',
                'path'             => '/v1/taxes/categories',
                'params'           => [],
                'args'             => args
        })

end
name() click to toggle source
# File lib/models/tax_category.rb, line 8
def self.name
        @@name
end
path() click to toggle source
# File lib/models/tax_category.rb, line 12
def self.path
        @@path
end