Sha256: 28001da59a69490b6df258e9f26bd5713d71dffa193c303962b25accf2880c08
Contents?: true
Size: 605 Bytes
Versions: 1
Compression:
Stored size: 605 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, :registered?, :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.2.0 | lib/bq_factory/proxy.rb |