module Sightengine

Constants

Response
VERSION

Public Class Methods

client(service_url = 'https://api.sightengine.com/1.0', api_user = ENV['SIGHTENGINE_API_USER'], api_secret = ENV['SIGHTENGINE_API_SECRET']) click to toggle source
# File lib/sightengine.rb, line 11
def client(service_url = 'https://api.sightengine.com/1.0',
            api_user = ENV['SIGHTENGINE_API_USER'],
            api_secret = ENV['SIGHTENGINE_API_SECRET'])
  @client ||= Client.new(service_url, api_user, api_secret)
end
client=(client) click to toggle source
# File lib/sightengine.rb, line 17
def client=(client)
  @client = client
end