Class: FidorApi::ValidationError
Instance Attribute Summary collapse
-
#error_keys ⇒ Object
Returns the value of attribute error_keys.
-
#fields ⇒ Object
Returns the value of attribute fields.
Instance Method Summary collapse
-
#initialize(message, fields, error_keys) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(message, fields, error_keys) ⇒ ValidationError
Returns a new instance of ValidationError.
22 23 24 25 26 |
# File 'lib/fidor_api/errors.rb', line 22 def initialize(, fields, error_keys) super() self.fields = fields self.error_keys = error_keys end |
Instance Attribute Details
#error_keys ⇒ Object
Returns the value of attribute error_keys.
20 21 22 |
# File 'lib/fidor_api/errors.rb', line 20 def error_keys @error_keys end |
#fields ⇒ Object
Returns the value of attribute fields.
20 21 22 |
# File 'lib/fidor_api/errors.rb', line 20 def fields @fields end |