Skip to content

Commit 298c03e

Browse files
committed
Rubocop fixes
1 parent 800a773 commit 298c03e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/friendly_shipping/services/rl/parse_rate_quote_response.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ def call(request:, response:)
3434
end
3535
end
3636

37-
private
38-
3937
# The currency to use when parsing the rate quotes.
40-
CURRENCY = Money::Currency.new('USD').freeze
38+
CURRENCY = Money::Currency.new('USD')
39+
40+
private
4141

4242
# Builds {Rate} instances from the parsed JSON.
4343
#

lib/friendly_shipping/services/usps_international/parse_rate_response.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ def call(request:, response:, shipment:, options:)
5151
end
5252
end
5353

54-
private
55-
5654
PACKAGE_NODE_XPATH = '//Package'
5755
SERVICE_NODE_NAME = 'Service'
5856

57+
private
58+
5959
# Iterate over all packages and parse the rates for each package
6060
#
6161
# @param [Nokogiri::XML::Node] xml The XML document containing packages and rates

0 commit comments

Comments
 (0)