Class: Wufoo::Submission::FieldError
- Inherits:
-
Object
- Object
- Wufoo::Submission::FieldError
- Defined in:
- lib/wufoo/submission.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#field_id ⇒ Object
Returns the value of attribute field_id.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(attrs) ⇒ FieldError
constructor
A new instance of FieldError.
Constructor Details
#initialize(attrs) ⇒ FieldError
Returns a new instance of FieldError.
74 75 76 77 78 |
# File 'lib/wufoo/submission.rb', line 74 def initialize(attrs) @field_id = attrs['field_id'] @code = attrs['error_code'] @message = attrs['error_message'] end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
72 73 74 |
# File 'lib/wufoo/submission.rb', line 72 def code @code end |
#field_id ⇒ Object
Returns the value of attribute field_id.
72 73 74 |
# File 'lib/wufoo/submission.rb', line 72 def field_id @field_id end |
#message ⇒ Object
Returns the value of attribute message.
72 73 74 |
# File 'lib/wufoo/submission.rb', line 72 def @message end |