module TelphinApi::Authorization
A module containing the methods for authorization.
@note `TelphinApi::Authorization` extends `TelphinApi` so these methods should be called from the latter.
Constants
- OPTIONS
Authorization
options.
Public Instance Methods
Private Instance Methods
client()
click to toggle source
# File lib/telphin_api/authorization.rb, line 34 def client @client ||= OAuth2::Client.new(TelphinApi.app_key, TelphinApi.app_secret, {site: TelphinApi.site}.merge(OPTIONS[:client])) end