Skip to content

Commit 476a4f0

Browse files
horghclaude
andcommitted
Fix ShippingAddress documentation
* Fixed grammar in distance_to_billing_address description * Added missing @return tag for is_high_risk Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f60ec70 commit 476a4f0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/minfraud/model/shipping_address.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Minfraud
66
module Model
77
# Model containing information about the shipping address.
88
class ShippingAddress < Address
9-
# The distance in kilometers from the shipping address to billing
9+
# The distance in kilometers from the shipping address to the billing
1010
# address.
1111
#
1212
# @return [Integer, nil]
@@ -16,6 +16,8 @@ class ShippingAddress < Address
1616
# with fraudulent transactions. The field is false when the address is
1717
# not associated with increased risk. The key will only be present when a
1818
# shipping address is provided.
19+
#
20+
# @return [Boolean, nil]
1921
attr_reader :is_high_risk
2022

2123
# @!visibility private

0 commit comments

Comments
 (0)