Exception: Dscf::Marketplace::Retailer::Registration::InvalidInput
- Inherits:
-
StandardError
- Object
- StandardError
- Dscf::Marketplace::Retailer::Registration::InvalidInput
- Defined in:
- app/models/dscf/marketplace/retailer/registration.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(*errors) ⇒ InvalidInput
constructor
A new instance of InvalidInput.
Constructor Details
#initialize(*errors) ⇒ InvalidInput
Returns a new instance of InvalidInput.
10 11 12 13 |
# File 'app/models/dscf/marketplace/retailer/registration.rb', line 10 def initialize(*errors) @errors = errors.flatten super(@errors.join(", ")) end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
8 9 10 |
# File 'app/models/dscf/marketplace/retailer/registration.rb', line 8 def errors @errors end |