Sha256: 69b9a307aa9e209c1555b4e59b282214b9217a0df91f01f68664142818a1299c
Contents?: true
Size: 780 Bytes
Versions: 4
Compression:
Stored size: 780 Bytes
Contents
# frozen_string_literal: true module Veryfi class Client attr_reader :request def initialize( client_id:, client_secret:, username:, api_key:, base_url: "https://api.veryfi.com/api/", api_version: "v8", timeout: 20 ) @request = Veryfi::Request.new(client_id, client_secret, username, api_key, base_url, api_version, timeout) end def document @_document ||= Veryfi::Api::Document.new(request) end def line_item @_line_item ||= Veryfi::Api::LineItem.new(request) end def tag @_tag ||= Veryfi::Api::Tag.new(request) end def document_tag @_document_tag ||= Veryfi::Api::DocumentTag.new(request) end def api_url request.api_url end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
veryfi-2.0.0 | lib/veryfi/client.rb |
veryfi-1.0.4 | lib/veryfi/client.rb |
veryfi-1.0.1 | lib/veryfi/client.rb |
veryfi-1.0.0 | lib/veryfi/client.rb |