Class: Bitlyr::ReferringDomain

Inherits:
Object
  • Object
show all
Defined in:
lib/bitlyr/referring_domain.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ ReferringDomain

Returns a new instance of ReferringDomain.



5
6
7
8
# File 'lib/bitlyr/referring_domain.rb', line 5

def initialize(options={})
  @clicks = options['clicks']
  @domain = options['domain']
end

Instance Attribute Details

#clicksObject (readonly)

Returns the value of attribute clicks.



3
4
5
# File 'lib/bitlyr/referring_domain.rb', line 3

def clicks
  @clicks
end

#domainObject (readonly)

Returns the value of attribute domain.



3
4
5
# File 'lib/bitlyr/referring_domain.rb', line 3

def domain
  @domain
end