Exception: MarketTown::Checkout::Address::InvalidError Private

Inherits:
RuntimeError
  • Object
show all
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

Instance Method Summary collapse

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

#dataObject (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