class Clayful::OrderTag

Public Class Methods

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

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

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

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

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

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

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