Skip to content

Commit c286e20

Browse files
committed
Fix: Rubocop trailing commas
1 parent 71c02ca commit c286e20

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

official/docs/ruby/current/luma/buy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
retrieved_shipment.id,
1111
ruleset_name: 'required_deliver_by_date',
1212
planned_ship_date: '2025-07-16',
13-
deliver_by_date: '2025-07-18'
13+
deliver_by_date: '2025-07-18',
1414
)
1515

1616
puts shipment

official/docs/ruby/current/luma/one-call-buy.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
zip: '75070',
1414
country: 'US',
1515
phone: '8573875756',
16-
email: 'dr_steve_brule@gmail.com'
16+
email: 'dr_steve_brule@gmail.com',
1717
},
1818
from_address: {
1919
name: 'EasyPost',
@@ -24,20 +24,20 @@
2424
zip: '94104',
2525
country: 'US',
2626
phone: '4153334445',
27-
email: 'support@easypost.com'
27+
email: 'support@easypost.com',
2828
},
2929
parcel: {
3030
length: 20.2,
3131
width: 10.9,
3232
height: 5,
33-
weight: 65.9
33+
weight: 65.9,
3434
},
3535
carrier_accounts: ['ca_...'],
3636
persist_label: true,
3737
ruleset_name: 'required_deliver_by_date',
3838
planned_ship_date: '2025-07-16',
3939
deliver_by_date: '2025-07-18',
40-
insurance: '50.00'
40+
insurance: '50.00',
4141
)
4242

4343
puts shipment

official/docs/ruby/current/luma/promise.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
zip: '75070',
1414
country: 'US',
1515
phone: '8573875756',
16-
email: 'dr_steve_brule@gmail.com'
16+
email: 'dr_steve_brule@gmail.com',
1717
},
1818
from_address: {
1919
name: 'EasyPost',
@@ -24,17 +24,17 @@
2424
zip: '94104',
2525
country: 'US',
2626
phone: '4153334445',
27-
email: 'support@easypost.com'
27+
email: 'support@easypost.com',
2828
},
2929
parcel: {
3030
length: 20.2,
3131
width: 10.9,
3232
height: 5,
33-
weight: 65.9
33+
weight: 65.9,
3434
},
3535
ruleset_name: 'required_deliver_by_date',
3636
planned_ship_date: '2025-07-16',
37-
deliver_by_date: '2025-07-18'
37+
deliver_by_date: '2025-07-18',
3838
)
3939

4040
puts shipment

0 commit comments

Comments
 (0)