Class: QuestionproRails::EmailGroup

Inherits:
Object
  • Object
show all
Defined in:
lib/questionpro_rails/email_group.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (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

#idObject (readonly)

Returns the value of attribute id.



4
5
6
# File 'lib/questionpro_rails/email_group.rb', line 4

def id
  @id
end