Sha256: 914a9f1a88c041b2ded46442c00ee82af740b897c5f140e1040453840d5e0caa
Contents?: true
Size: 660 Bytes
Versions: 5
Compression:
Stored size: 660 Bytes
Contents
module BlockScore class Verification def initialize(client) @client = client end # # /verifications POST # def create(options = {}) response = @client.post '/verifications', options end # # /verifications/:id GET # # id - def retrieve(id, options = {}) body = (options.include? :query) ? options[:body] : {} response = @client.get "/verifications/#{id.to_s}", body end # # '/verifications' GET # def all(count = nil, offset = nil, options = {}) body = (options.include? :body) ? options[:body] : {} body[:count] = count body[:offset] = offset @client.get '/verifications', body end end end
Version data entries
5 entries across 5 versions & 1 rubygems