Class: Barruun::Configurations::Bigquery::Dataset
- Inherits:
-
Object
- Object
- Barruun::Configurations::Bigquery::Dataset
- Defined in:
- lib/barruun/configurations/bigquery/dataset.rb
Instance Method Summary collapse
-
#initialize(hash) ⇒ Dataset
constructor
A new instance of Dataset.
- #name ⇒ Object
- #options ⇒ Object
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
#name ⇒ Object
9 10 11 |
# File 'lib/barruun/configurations/bigquery/dataset.rb', line 9 def name @hash["name"] end |
#options ⇒ Object
13 14 15 |
# File 'lib/barruun/configurations/bigquery/dataset.rb', line 13 def @hash.reject { |k| ["name"].include?(k) } end |