Exception: Source::ProductFatalError
- Inherits:
-
GeneralError
- Object
- StandardError
- GeneralError
- Source::ProductFatalError
- Defined in:
- lib/sources/source.rb
Instance Attribute Summary collapse
-
#product_code ⇒ Object
readonly
Returns the value of attribute product_code.
Attributes inherited from GeneralError
Instance Method Summary collapse
-
#initialize(message, source_keyname, product_code) ⇒ ProductFatalError
constructor
A new instance of ProductFatalError.
Constructor Details
#initialize(message, source_keyname, product_code) ⇒ ProductFatalError
Returns a new instance of ProductFatalError.
23 24 25 26 |
# File 'lib/sources/source.rb', line 23 def initialize(, source_keyname, product_code) super(, source_keyname) @product_code = product_code end |
Instance Attribute Details
#product_code ⇒ Object (readonly)
Returns the value of attribute product_code.
22 23 24 |
# File 'lib/sources/source.rb', line 22 def product_code @product_code end |