Sha256: 18db4fd4bd377a699405e4fa3b6bc248d02fcf897cb62a476b9a8e5483c451db
Contents?: true
Size: 515 Bytes
Versions: 1
Compression:
Stored size: 515 Bytes
Contents
module Kooaba QUERY_URL = "https://query-api.kooaba.com/v4/" UPLOAD_URL = "https://upload-api.kooaba.com/api/v4/" def self.upload_key=(upload_key) @@upload_key = upload_key end def self.query_key=(query_key) @@query_key = query_key end def self.upload_key @@upload_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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kooaba-0.0.1 | lib/kooaba/base.rb |