Class: GetResponse::FromField
- Inherits:
-
Object
- Object
- GetResponse::FromField
- Defined in:
- lib/get_response/from_field.rb
Overview
Form field connected with account.
Instance Attribute Summary collapse
-
#created_on ⇒ Object
readonly
Returns the value of attribute created_on.
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(params) ⇒ FromField
constructor
A new instance of FromField.
Constructor Details
#initialize(params) ⇒ FromField
Returns a new instance of FromField.
9 10 11 12 13 14 |
# File 'lib/get_response/from_field.rb', line 9 def initialize(params) @id = params["id"] @name = params["name"] @email = params["email"] @created_on = params["created_on"] end |
Instance Attribute Details
#created_on ⇒ Object (readonly)
Returns the value of attribute created_on.
6 7 8 |
# File 'lib/get_response/from_field.rb', line 6 def created_on @created_on end |
#email ⇒ Object (readonly)
Returns the value of attribute email.
6 7 8 |
# File 'lib/get_response/from_field.rb', line 6 def email @email end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/get_response/from_field.rb', line 6 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/get_response/from_field.rb', line 6 def name @name end |