Exception: Avromatic::Model::UnknownAttributeError
- Inherits:
-
StandardError
- Object
- StandardError
- Avromatic::Model::UnknownAttributeError
- Defined in:
- lib/avromatic/model/unknown_attribute_error.rb
Instance Attribute Summary collapse
-
#allowed_attributes ⇒ Object
readonly
Returns the value of attribute allowed_attributes.
-
#unknown_attributes ⇒ Object
readonly
Returns the value of attribute unknown_attributes.
Instance Method Summary collapse
-
#initialize(message, unknown_attributes:, allowed_attributes:) ⇒ UnknownAttributeError
constructor
A new instance of UnknownAttributeError.
Constructor Details
#initialize(message, unknown_attributes:, allowed_attributes:) ⇒ UnknownAttributeError
Returns a new instance of UnknownAttributeError.
8 9 10 11 12 |
# File 'lib/avromatic/model/unknown_attribute_error.rb', line 8 def initialize(, unknown_attributes:, allowed_attributes:) super() @unknown_attributes = unknown_attributes @allowed_attributes = allowed_attributes end |
Instance Attribute Details
#allowed_attributes ⇒ Object (readonly)
Returns the value of attribute allowed_attributes.
6 7 8 |
# File 'lib/avromatic/model/unknown_attribute_error.rb', line 6 def allowed_attributes @allowed_attributes end |
#unknown_attributes ⇒ Object (readonly)
Returns the value of attribute unknown_attributes.
6 7 8 |
# File 'lib/avromatic/model/unknown_attribute_error.rb', line 6 def unknown_attributes @unknown_attributes end |