Skip to content

Commit 34158a7

Browse files
horghclaude
andcommitted
Fix ShoppingCartItem documentation
* Fixed documentation URLs * Fixed price max value from 1e14 to 1e13 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 04564af commit 34158a7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/minfraud/components/shopping_cart_item.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ module Components
55
# ShoppingCartItem corresponds to objects in the shopping_cart object
66
# of a minFraud request.
77
#
8-
# @see https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en#schema--request--shopping-cart--item
8+
# @see https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en#schema--request--shopping-cart
99
class ShoppingCartItem < Base
1010
include Minfraud::Validates
1111

1212
# The category of the item. This can also be a hashed value; see link.
1313
#
14-
# @see https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en#schema--request--shopping-cart--item__category
14+
# @see https://dev.maxmind.com/minfraud/api-documentation/requests/?lang=en#schema--request--shopping-cart__category
1515
#
1616
# @return [String, nil]
1717
attr_accessor :category
1818

1919
# The internal ID of the item. This can also be a hashed value; see link.
2020
#
21-
# @see https://dev.maxmind.com/minfraud/api-documentation/requests?lang=en#schema--request--shopping-cart--item__item_id
21+
# @see https://dev.maxmind.com/minfraud/api-documentation/requests/?lang=en#schema--request--shopping-cart__item_id
2222
#
2323
# @return [String, nil]
2424
attr_accessor :item_id
@@ -31,7 +31,7 @@ class ShoppingCartItem < Base
3131

3232
# The per-unit price of this item in the shopping cart. This should use
3333
# the same currency as the order currency. The value must be at least 0
34-
# and at most 1e14 - 1.
34+
# and at most 1e13 - 1.
3535
#
3636
# @return [Float, nil]
3737
attr_accessor :price

0 commit comments

Comments
 (0)