Class: GetResponse::ConfirmationBody
- Inherits:
-
Object
- Object
- GetResponse::ConfirmationBody
- Defined in:
- lib/get_response/confirmation_body.rb
Overview
GetResponse confirmation body. It can be used in campaign settings.
Instance Attribute Summary collapse
-
#html ⇒ Object
readonly
Returns the value of attribute html.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#language_code ⇒ Object
readonly
Returns the value of attribute language_code.
-
#plain ⇒ Object
readonly
Returns the value of attribute plain.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ ConfirmationBody
constructor
A new instance of ConfirmationBody.
Constructor Details
#initialize(attributes) ⇒ ConfirmationBody
Returns a new instance of ConfirmationBody.
9 10 11 12 13 14 |
# File 'lib/get_response/confirmation_body.rb', line 9 def initialize(attributes) @id = attributes["id"] @plain = attributes["plain"] @html = attributes["html"] @language_code = attributes["language_code"] end |
Instance Attribute Details
#html ⇒ Object (readonly)
Returns the value of attribute html.
6 7 8 |
# File 'lib/get_response/confirmation_body.rb', line 6 def html @html end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/get_response/confirmation_body.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_body.rb', line 6 def language_code @language_code end |
#plain ⇒ Object (readonly)
Returns the value of attribute plain.
6 7 8 |
# File 'lib/get_response/confirmation_body.rb', line 6 def plain @plain end |