Class: Barruun::Configurations::Bigquery::Dataset

Inherits:
Object
  • Object
show all
Defined in:
lib/barruun/configurations/bigquery/dataset.rb

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ Dataset

Returns a new instance of Dataset.



5
6
7
# File 'lib/barruun/configurations/bigquery/dataset.rb', line 5

def initialize(hash)
  @hash = hash
end

Instance Method Details

#nameObject



9
10
11
# File 'lib/barruun/configurations/bigquery/dataset.rb', line 9

def name
  @hash["name"]
end

#optionsObject



13
14
15
# File 'lib/barruun/configurations/bigquery/dataset.rb', line 13

def options
  @hash.reject { |k| ["name"].include?(k) }
end