Method: Esi::OAuth.client

Defined in:
lib/esi/o_auth.rb

.clientObject



20
21
22
23
24
25
# File 'lib/esi/o_auth.rb', line 20

def client
  @client ||= OAuth2::Client.new(
    Esi.config.client_id, Esi.config.client_secret,
    { site: Esi.config.oauth_host }
  )
end