Exception: MarketTown::Checkout::Address::InvalidError Private
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- MarketTown::Checkout::Address::InvalidError
- Defined in:
- lib/market_town/checkout/models/address.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Thrown when MarketTown::Checkout::Address invalid
Instance Attribute Summary collapse
- #data ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(data) ⇒ InvalidError
constructor
private
A new instance of InvalidError.
Constructor Details
#initialize(data) ⇒ InvalidError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of InvalidError.
71 72 73 |
# File 'lib/market_town/checkout/models/address.rb', line 71 def initialize(data) @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
69 70 71 |
# File 'lib/market_town/checkout/models/address.rb', line 69 def data @data end |