Class: GetResponse::ConfirmationBody

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#htmlObject (readonly)

Returns the value of attribute html.



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

def html
  @html
end

#idObject (readonly)

Returns the value of attribute id.



6
7
8
# File 'lib/get_response/confirmation_body.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_body.rb', line 6

def language_code
  @language_code
end

#plainObject (readonly)

Returns the value of attribute plain.



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

def plain
  @plain
end