bigquery 0.1.5 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/bigquery.rb +16 -0
  2. metadata +1 -1
@@ -44,6 +44,22 @@ class BigQuery
44
44
  })
45
45
  end
46
46
 
47
+ def job(id, opts = {})
48
+ opts['jobId'] = id
49
+
50
+ api({
51
+ :api_method => @bq.jobs.get,
52
+ :parameters => opts
53
+ })
54
+ end
55
+
56
+ def jobs(opts = {})
57
+ api({
58
+ :api_method => @bq.jobs.list,
59
+ :parameters => opts
60
+ })
61
+ end
62
+
47
63
  def tables(dataset = @dataset)
48
64
  api({
49
65
  :api_method => @bq.tables.list,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigquery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: