Class: GetResponse::ConfirmationSubject
- Inherits:
-
Object
- Object
- GetResponse::ConfirmationSubject
- Defined in:
- lib/get_response/confirmation_subject.rb
Overview
GetResponse confirmation subject. It can be used in campaign settings.
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#language_code ⇒ Object
readonly
Returns the value of attribute language_code.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ ConfirmationSubject
constructor
A new instance of ConfirmationSubject.
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
#content ⇒ Object (readonly)
Returns the value of attribute content.
6 7 8 |
# File 'lib/get_response/confirmation_subject.rb', line 6 def content @content end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/get_response/confirmation_subject.rb', line 6 def id @id end |
#language_code ⇒ Object (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 |