module Datasets::EStatJapan::Configurable

configuration injection

Attributes

app_id[RW]

Public Instance Methods

configure() { |self| ... } click to toggle source

configuration for e-Stat API See detail at www.e-stat.go.jp/api/api-dev/how_to_use (Japanese only). @example

Datasets::EStatJapan.configure do |config|
 # put your App ID for e-Stat app_id
 config.app_id = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
end
# File lib/datasets/e-stat-japan.rb, line 23
def configure
  yield self
end