Module: QiitaTrend

Defined in:
lib/qiita_trend.rb,
lib/qiita_trend/page.rb,
lib/qiita_trend/cache.rb,
lib/qiita_trend/trend.rb,
lib/qiita_trend/target.rb,
lib/qiita_trend/version.rb,
lib/qiita_trend/trend_type.rb,
lib/qiita_trend/configuration.rb,
lib/qiita_trend/error/syntax_error.rb,
lib/qiita_trend/error/login_failure_error.rb,
lib/qiita_trend/error/not_exists_cache_error.rb

Defined Under Namespace

Modules: Error Classes: Cache, Configuration, Page, Target, Trend, TrendType

Constant Summary collapse

VERSION =
'0.2.9'

Class Method Summary collapse

Class Method Details

.configurationObject


9
10
11
# File 'lib/qiita_trend/configuration.rb', line 9

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:


5
6
7
# File 'lib/qiita_trend/configuration.rb', line 5

def configure
  yield(configuration)
end