Sha256: 46838a8e4cb27a021b058092fc8a5c946aabf41e1b0708ae00dacc8775934c3c
Contents?: true
Size: 503 Bytes
Versions: 2
Compression:
Stored size: 503 Bytes
Contents
module Kooaba QUERY_URL = "https://query-api.kooaba.com/v4/" UPLOAD_URL = "https://upload-api.kooaba.com/api/v4/" def self.data_key=(data_key) @@data_key = data_key end def self.query_key=(query_key) @@query_key = query_key end def self.data_key @@data_key end def self.query_key @@query_key end def self.upload(item, bucket_id) UploadRequest.new(item, bucket_id).start end def self.query(image_path) QueryRequest.new(image_path).start end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kooaba-0.0.3 | lib/kooaba/base.rb |
kooaba-0.0.2 | lib/kooaba/base.rb |