class Clayful::ReviewComment
Public Class Methods
cancel_flag(*args)
click to toggle source
# File lib/models/review_comment.rb, line 16 def self.cancel_flag(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'cancel_flag', 'http_method' => 'DELETE', 'path' => '/v1/products/reviews/comments/{reviewCommentId}/flags/{customerId}', 'params' => ['reviewCommentId', 'customerId', ], 'args' => args }) end
cancel_flag_for_me(*args)
click to toggle source
# File lib/models/review_comment.rb, line 29 def self.cancel_flag_for_me(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'cancel_flag_for_me', 'http_method' => 'DELETE', 'path' => '/v1/me/products/reviews/comments/{reviewCommentId}/flags', 'params' => ['reviewCommentId', ], 'args' => args }) end
count(*args)
click to toggle source
# File lib/models/review_comment.rb, line 42 def self.count(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'count', 'http_method' => 'GET', 'path' => '/v1/products/reviews/comments/count', 'params' => [], 'args' => args }) end
create(*args)
click to toggle source
# File lib/models/review_comment.rb, line 55 def self.create(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'create', 'http_method' => 'POST', 'path' => '/v1/products/reviews/comments', 'params' => [], 'args' => args }) end
create_for_me(*args)
click to toggle source
# File lib/models/review_comment.rb, line 68 def self.create_for_me(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'create_for_me', 'http_method' => 'POST', 'path' => '/v1/me/products/reviews/comments', 'params' => [], 'args' => args }) end
delete(*args)
click to toggle source
# File lib/models/review_comment.rb, line 81 def self.delete(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'delete', 'http_method' => 'DELETE', 'path' => '/v1/products/reviews/comments/{reviewCommentId}', 'params' => ['reviewCommentId', ], 'args' => args }) end
delete_for_me(*args)
click to toggle source
# File lib/models/review_comment.rb, line 94 def self.delete_for_me(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'delete_for_me', 'http_method' => 'DELETE', 'path' => '/v1/me/products/reviews/comments/{reviewCommentId}', 'params' => ['reviewCommentId', ], 'args' => args }) end
delete_metafield(*args)
click to toggle source
# File lib/models/review_comment.rb, line 107 def self.delete_metafield(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'delete_metafield', 'http_method' => 'DELETE', 'path' => '/v1/products/reviews/comments/{reviewCommentId}/meta/{field}', 'params' => ['reviewCommentId', 'field', ], 'args' => args }) end
flag(*args)
click to toggle source
# File lib/models/review_comment.rb, line 120 def self.flag(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'flag', 'http_method' => 'POST', 'path' => '/v1/products/reviews/comments/{reviewCommentId}/flags', 'params' => ['reviewCommentId', ], 'args' => args }) end
flag_for_me(*args)
click to toggle source
# File lib/models/review_comment.rb, line 133 def self.flag_for_me(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'flag_for_me', 'http_method' => 'POST', 'path' => '/v1/me/products/reviews/comments/{reviewCommentId}/flags', 'params' => ['reviewCommentId', ], 'without_payload' => true, 'args' => args }) end
get(*args)
click to toggle source
# File lib/models/review_comment.rb, line 147 def self.get(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'get', 'http_method' => 'GET', 'path' => '/v1/products/reviews/comments/{reviewCommentId}', 'params' => ['reviewCommentId', ], 'args' => args }) end
increase_metafield(*args)
click to toggle source
# File lib/models/review_comment.rb, line 160 def self.increase_metafield(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'increase_metafield', 'http_method' => 'POST', 'path' => '/v1/products/reviews/comments/{reviewCommentId}/meta/{field}/inc', 'params' => ['reviewCommentId', 'field', ], 'args' => args }) end
list(*args)
click to toggle source
# File lib/models/review_comment.rb, line 173 def self.list(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'list', 'http_method' => 'GET', 'path' => '/v1/products/reviews/comments', 'params' => [], 'args' => args }) end
name()
click to toggle source
# File lib/models/review_comment.rb, line 8 def self.name @@name end
path()
click to toggle source
# File lib/models/review_comment.rb, line 12 def self.path @@path end
pull_from_metafield(*args)
click to toggle source
# File lib/models/review_comment.rb, line 186 def self.pull_from_metafield(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'pull_from_metafield', 'http_method' => 'POST', 'path' => '/v1/products/reviews/comments/{reviewCommentId}/meta/{field}/pull', 'params' => ['reviewCommentId', 'field', ], 'args' => args }) end
push_to_metafield(*args)
click to toggle source
# File lib/models/review_comment.rb, line 199 def self.push_to_metafield(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'push_to_metafield', 'http_method' => 'POST', 'path' => '/v1/products/reviews/comments/{reviewCommentId}/meta/{field}/push', 'params' => ['reviewCommentId', 'field', ], 'args' => args }) end
update(*args)
click to toggle source
# File lib/models/review_comment.rb, line 212 def self.update(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'update', 'http_method' => 'PUT', 'path' => '/v1/products/reviews/comments/{reviewCommentId}', 'params' => ['reviewCommentId', ], 'args' => args }) end
update_for_me(*args)
click to toggle source
# File lib/models/review_comment.rb, line 225 def self.update_for_me(*args) Clayful.call_api({ 'model_name' => @@name, 'method_name' => 'update_for_me', 'http_method' => 'PUT', 'path' => '/v1/me/products/reviews/comments/{reviewCommentId}', 'params' => ['reviewCommentId', ], 'args' => args }) end