class Credova::Retailer

Constants

ENDPOINTS

Public Class Methods

new(client) click to toggle source
# File lib/credova/retailer.rb, line 13
def initialize(client)
  @client = client
end

Public Instance Methods

lenders() click to toggle source
# File lib/credova/retailer.rb, line 17
def lenders
  endpoint = ENDPOINTS[:lenders]

  get_request(endpoint, auth_header(@client.access_token))
end
stores() click to toggle source
# File lib/credova/retailer.rb, line 23
def stores
  endpoint = ENDPOINTS[:stores]

  get_request(endpoint, auth_header(@client.access_token))
end