Class: GetResponse::ConfirmationSubject

Inherits:
Object
  • Object
show all
Defined in:
lib/get_response/confirmation_subject.rb

Overview

GetResponse confirmation subject. It can be used in campaign settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes) ⇒ ConfirmationSubject

Returns a new instance of ConfirmationSubject.



9
10
11
12
13
# File 'lib/get_response/confirmation_subject.rb', line 9

def initialize(attributes)
  @id = attributes["id"]
  @content = attributes["content"]
  @language_code = attributes["language_code"]
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



6
7
8
# File 'lib/get_response/confirmation_subject.rb', line 6

def content
  @content
end

#idObject (readonly)

Returns the value of attribute id.



6
7
8
# File 'lib/get_response/confirmation_subject.rb', line 6

def id
  @id
end

#language_codeObject (readonly)

Returns the value of attribute language_code.



6
7
8
# File 'lib/get_response/confirmation_subject.rb', line 6

def language_code
  @language_code
end