Method: BigQuery::QueryResult#initialize
- Defined in:
- lib/bigquery/query_result.rb
#initialize(result) ⇒ QueryResult
Returns a new instance of QueryResult.
5 6 7 8 |
# File 'lib/bigquery/query_result.rb', line 5 def initialize(result) @total_bytes_processed = result['totalBytesProcessed'].to_i make_rows(result) end |