Module: Freegeoip::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/freegeoip/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#db_locationObject

Returns the value of attribute db_location.



7
8
9
# File 'lib/freegeoip/config.rb', line 7

def db_location
  @db_location
end

#param_nameObject

Returns the value of attribute param_name.



7
8
9
# File 'lib/freegeoip/config.rb', line 7

def param_name
  @param_name
end

Instance Method Details

#configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



9
10
11
# File 'lib/freegeoip/config.rb', line 9

def configure
  yield self
end