lib/muffin_man/solicitations/v1.rb in muffin_man-1.2.0 vs lib/muffin_man/solicitations/v1.rb in muffin_man-1.3.0
- old
+ new
@@ -9,12 +9,14 @@
# @param amazon_order_id An Amazon order identifier. This specifies the order for which a solicitation is sent.
# @param marketplace_ids A marketplace identifier. This specifies the marketplace in which the order was placed. Only one marketplace can be specified.
def create_product_review_and_seller_feedback_solicitation(amazon_order_id, marketplace_ids)
@amazon_order_id = sandbox ? SANDBOX_AMAZON_ORDER_ID : amazon_order_id
@marketplace_ids = sandbox ? SANDBOX_MARKETPLACE_IDS : marketplace_ids
- @local_var_path = '/solicitations/v1/orders/{amazonOrderId}/solicitations/productReviewAndSellerFeedback'.sub('{' + 'amazonOrderId' + '}', @amazon_order_id)
+ @local_var_path = "/solicitations/v1/orders/{amazonOrderId}/solicitations/productReviewAndSellerFeedback".sub(
+ "{" + "amazonOrderId" + "}", @amazon_order_id
+ )
@query_params = { "marketplaceIds" => @marketplace_ids }
- @request_type = 'POST'
+ @request_type = "POST"
call_api
end
end
end
end