Exception: RSimpy::RequiredFieldMissingError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- RSimpy::RequiredFieldMissingError
- Defined in:
- lib/errors/required_field_missing_error.rb
Instance Attribute Summary collapse
-
#field ⇒ Object
readonly
Returns the value of attribute field.
Instance Method Summary collapse
-
#initialize(field) ⇒ RequiredFieldMissingError
constructor
A new instance of RequiredFieldMissingError.
Constructor Details
#initialize(field) ⇒ RequiredFieldMissingError
Returns a new instance of RequiredFieldMissingError.
5 6 7 |
# File 'lib/errors/required_field_missing_error.rb', line 5 def initialize field @field = field end |
Instance Attribute Details
#field ⇒ Object (readonly)
Returns the value of attribute field.
3 4 5 |
# File 'lib/errors/required_field_missing_error.rb', line 3 def field @field end |