Class: Weeter::Configuration
- Inherits:
-
Object
- Object
- Weeter::Configuration
show all
- Includes:
- Singleton
- Defined in:
- lib/weeter/configuration.rb,
lib/weeter/configuration/limiter_config.rb,
lib/weeter/configuration/twitter_config.rb,
lib/weeter/configuration/client_app_config.rb
Defined Under Namespace
Classes: ClientAppConfig, LimiterConfig, TwitterConfig
Instance Attribute Summary collapse
Instance Method Summary
collapse
Instance Attribute Details
#log_path ⇒ Object
Returns the value of attribute log_path.
7
8
9
|
# File 'lib/weeter/configuration.rb', line 7
def log_path
@log_path
end
|
Instance Method Details
#client_app {|@client_app_config| ... } ⇒ Object
24
25
26
27
28
|
# File 'lib/weeter/configuration.rb', line 24
def client_app
@client_app_config ||= Configuration::ClientAppConfig.new
yield @client_app_config if block_given?
@client_app_config
end
|
#limiter {|Configuration::LimiterConfig.instance| ... } ⇒ Object