Class: Bitlyr::Country

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Country

Returns a new instance of Country.



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

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

Instance Attribute Details

#clicksObject (readonly)

Returns the value of attribute clicks.



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

def clicks
  @clicks
end

#countryObject (readonly)

Returns the value of attribute country.



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

def country
  @country
end