We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fdd819 commit a5df6e1Copy full SHA for a5df6e1
lib/easypost/services/luma.rb
@@ -7,6 +7,6 @@ def get_promise(params = {})
7
wrapped_params = { shipment: params }
8
response = @client.make_request(:post, url, wrapped_params)
9
10
- EasyPost::InternalUtilities::Json.convert_json_to_object(response)
+ EasyPost::InternalUtilities::Json.convert_json_to_object(response).luma_info
11
end
12
spec/luma_spec.rb
@@ -13,7 +13,7 @@
13
14
response = client.luma.get_promise(basic_shipment)
15
16
- expect(response.luma_info.luma_selected_rate).not_to be_nil
+ expect(response.luma_selected_rate).not_to be_nil
17
18
19
0 commit comments