Sha256: a3821afdc5616a39051440e02ad307a64f4084ca5acff3f2b1989a3db3ed8ea5
Contents?: true
Size: 415 Bytes
Versions: 2
Compression:
Stored size: 415 Bytes
Contents
module Dag class Client module Table def tables Dag::TableCollection.new(@api, @cluster_name, @db_name) end def table(tbl_name) unless table_info = @api.table(@cluster_name, @db_name, tbl_name) raise Dag::Client::TableNotFound.new('table not found') end Dag::Table.new(@api, @cluster_name, @db_name, params: table_info) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
iij-dag-client-1.0.2 | lib/dag/client/table.rb |
iij-dag-client-1.0.1 | lib/dag/client/table.rb |