Exception: RSimpy::RequiredFieldMissingError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/errors/required_field_missing_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fieldObject (readonly)

Returns the value of attribute field.



3
4
5
# File 'lib/errors/required_field_missing_error.rb', line 3

def field
  @field
end