Class: QuestionproRails::EmailGroup
- Inherits:
-
Object
- Object
- QuestionproRails::EmailGroup
- Defined in:
- lib/questionpro_rails/email_group.rb
Instance Attribute Summary collapse
-
#email_group_name ⇒ Object
readonly
Returns the value of attribute email_group_name.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ EmailGroup
constructor
A new instance of EmailGroup.
Constructor Details
#initialize(attributes) ⇒ EmailGroup
Returns a new instance of EmailGroup.
6 7 8 9 |
# File 'lib/questionpro_rails/email_group.rb', line 6 def initialize (attributes) @id = attributes['emailGroupID'] @email_group_name = attributes['emailGroupName'] end |
Instance Attribute Details
#email_group_name ⇒ Object (readonly)
Returns the value of attribute email_group_name.
4 5 6 |
# File 'lib/questionpro_rails/email_group.rb', line 4 def email_group_name @email_group_name end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4 5 6 |
# File 'lib/questionpro_rails/email_group.rb', line 4 def id @id end |