# frozen_string_literal: true module Veryfi class Client CATEGORIES = [ "Advertising & Marketing", "Automotive", "Bank Charges & Fees", "Legal & Professional Services", "Insurance", "Meals & Entertainment", "Office Supplies & Software", "Taxes & Licenses", "Travel", "Rent & Lease", "Repairs & Maintenance", "Payroll", "Utilities", "Job Supplies", "Grocery" ].freeze attr_reader :request def initialize( client_id:, client_secret:, username:, api_key:, base_url: "https://api.veryfi.com/api/", api_version: "v7", timeout: 120 ) @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 api_url request.api_url end end end