class Clayful::ShippingMethod
Public Class Methods
count(*args)
click to toggle source
# File lib/models/shipping_method.rb, line 16 def self.count(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'count', 'http_method' => 'GET', 'path' => '/v1/shipping/methods/count', 'params' => [], 'args' => args }) end
get(*args)
click to toggle source
# File lib/models/shipping_method.rb, line 29 def self.get(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'get', 'http_method' => 'GET', 'path' => '/v1/shipping/methods/{shippingMethodId}', 'params' => ['shippingMethodId', ], 'args' => args }) end
list(*args)
click to toggle source
# File lib/models/shipping_method.rb, line 42 def self.list(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'list', 'http_method' => 'GET', 'path' => '/v1/shipping/methods', 'params' => [], 'args' => args }) end
name()
click to toggle source
# File lib/models/shipping_method.rb, line 8 def self.name @@name end
path()
click to toggle source
# File lib/models/shipping_method.rb, line 12 def self.path @@path end