Sha256: f48adccaa66afca6281bed710c7dfe70f001f4a1270f268c494d05a4389d101b
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 Bytes
Contents
module BqFactory class Proxy delegate :fetch_schema, :create_dataset!, :delete_dataset!, :create_table!, :delete_table!, :query, to: :client alias :fetch_schema_from_bigquery :fetch_schema delegate :register, :find, to: :schemas alias :table_by_name :find delegate :project_id, :keyfile_path, to: :configuration def configuration @configuration ||= Configuration.new end def schemas @schemas ||= RegistoryDecorator.new(Registory.new('schema')) end def client @client ||= Client.new(project_id, keyfile_path) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bq_factory-0.1.1 | lib/bq_factory/proxy.rb |