lib/muffin_man/orders/v0.rb in muffin_man-1.4.2 vs lib/muffin_man/orders/v0.rb in muffin_man-1.4.3

- old
+ new

@@ -37,8 +37,14 @@ @query_params = params.slice(*GET_ORDER_ITEMS_PARAMS) @local_var_path = "/orders/v0/orders/#{order_id}/orderItems" @request_type = "GET" call_api end + + def get_order_address(order_id) + @local_var_path = "/orders/v0/orders/#{order_id}/address" + @request_type = "GET" + call_api + end end end -end \ No newline at end of file +end