class ShopifyAPI::ProductResourceFeedback
Attributes
Public Class Methods
Source
# File lib/shopify_api/rest/resources/2022_04/product_resource_feedback.rb, line 75 def all( product_id: nil, session: ShopifyAPI::Context.active_session, **kwargs ) response = base_find( session: session, ids: {product_id: product_id}, params: {}.merge(kwargs).compact, ) T.cast(response, T::Array[ProductResourceFeedback]) end
Source
# File lib/shopify_api/rest/resources/2022_04/product_resource_feedback.rb, line 64 def json_body_name() "resource_feedback" end
Source
# File lib/shopify_api/rest/resources/2022_04/product_resource_feedback.rb, line 19 def initialize(session: ShopifyAPI::Context.active_session, from_hash: nil) @created_at = T.let(nil, T.nilable(String)) @feedback_generated_at = T.let(nil, T.nilable(String)) @messages = T.let(nil, T.nilable(T::Array[T.untyped])) @product_id = T.let(nil, T.nilable(Integer)) @resource_id = T.let(nil, T.nilable(Integer)) @resource_type = T.let(nil, T.nilable(String)) @resource_updated_at = T.let(nil, T.nilable(String)) @state = T.let(nil, T.nilable(String)) @updated_at = T.let(nil, T.nilable(String)) super(session: session, from_hash: from_hash) end
Calls superclass method
ShopifyAPI::Rest::Base::new