module StrawberryAPI::Client::AssetFeedbacks

Public Instance Methods

asset_feedback(id:) click to toggle source

Fetches a asset feedback

@param [Integer] id Id of the asset feedback to retrieve

@return [StrawberryAPI::AssetFeedback] The fetched asset feedback

# File lib/strawberry_api/client/asset_feedbacks.rb, line 11
def asset_feedback(id:)
   data = get("/asset_status/#{id}").parse['job']
   data.nil? ? nil : AssetFeedback.new(data)
end