Class: GetResponse::Domain

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

Overview

Domain connected with account or campaign in GetResponse

Instance Attribute Summary collapse

Instance Method Summary collapse

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_onObject (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

#domainObject (readonly)

Returns the value of attribute domain.



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

def domain
  @domain
end

#idObject (readonly)

Returns the value of attribute id.



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

def id
  @id
end