Class: GetResponse::Domain
- Inherits:
-
Object
- Object
- GetResponse::Domain
- Defined in:
- lib/get_response/domain.rb
Overview
Domain connected with account or campaign in GetResponse
Instance Attribute Summary collapse
-
#created_on ⇒ Object
readonly
Returns the value of attribute created_on.
-
#domain ⇒ Object
readonly
Returns the value of attribute domain.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(attributes) ⇒ Domain
constructor
A new instance of Domain.
Constructor Details
#initialize(attributes) ⇒ Domain
Returns a new instance of Domain.
8 9 10 11 12 |
# File 'lib/get_response/domain.rb', line 8 def initialize(attributes) @id = attributes["id"] @domain = attributes["domain"] @created_on = attributes["created_on"] end |
Instance Attribute Details
#created_on ⇒ Object (readonly)
Returns the value of attribute created_on.
6 7 8 |
# File 'lib/get_response/domain.rb', line 6 def created_on @created_on end |
#domain ⇒ Object (readonly)
Returns the value of attribute domain.
6 7 8 |
# File 'lib/get_response/domain.rb', line 6 def domain @domain end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/get_response/domain.rb', line 6 def id @id end |