Class: BqFactory::Table
- Inherits:
-
Object
- Object
- BqFactory::Table
- Defined in:
- lib/bq_factory/table.rb
Instance Attribute Summary collapse
-
#dataset ⇒ Object
readonly
Returns the value of attribute dataset.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#schema ⇒ Object
Returns the value of attribute schema.
Instance Method Summary collapse
-
#initialize(name, dataset, schema = nil) ⇒ Table
constructor
A new instance of Table.
Constructor Details
#initialize(name, dataset, schema = nil) ⇒ Table
Returns a new instance of Table.
6 7 8 9 10 |
# File 'lib/bq_factory/table.rb', line 6 def initialize(name, dataset, schema = nil) @name = name @dataset = dataset @schema = schema end |
Instance Attribute Details
#dataset ⇒ Object (readonly)
Returns the value of attribute dataset.
3 4 5 |
# File 'lib/bq_factory/table.rb', line 3 def dataset @dataset end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
3 4 5 |
# File 'lib/bq_factory/table.rb', line 3 def name @name end |
#schema ⇒ Object
Returns the value of attribute schema.
4 5 6 |
# File 'lib/bq_factory/table.rb', line 4 def schema @schema end |