Sha256: 1187e67663e95d1954553be3466198ad4bc10c6e1ac9953837627bf04e1c4c2d
Contents?: true
Size: 590 Bytes
Versions: 1
Compression:
Stored size: 590 Bytes
Contents
def fixture_key(type, filename) dir_name = type.to_s + "s" Rails.root + "../fixtures/#{dir_name}/#{filename}" end def config_options config = YAML.load( File.open(fixture_key("config", "account_config.yml")) ) config["key_file"] = fixture_key("key", config["pem"]) return config end GoogleBigquery::Config.setup do |config| config.pass_phrase = config_options["pass_phrase"] config.key_file = config_options["key_file"] config.scope = config_options["scope"] config.profile_id = config_options["profile_id"] config.email = config_options["email"] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bigbroda-0.0.5 | spec/dummy/config/initializers/bigquery.rb |