class Kekeewin::OauthAPI::Auth

Attributes

access_token[R]
oauth_client[R]

Public Class Methods

access() click to toggle source
# File lib/kekeewin.rb, line 27
def self.access
  @access_token ||= OAuth2::AccessToken.new(self.client, Base.access_token)
end
client(oauth_id = Base.oauth_id, oauth_secret = Base.oauth_secret, host = Base.host) click to toggle source
# File lib/kekeewin.rb, line 23
def self.client(oauth_id = Base.oauth_id, oauth_secret = Base.oauth_secret, host = Base.host)
  @oauth_client ||= OAuth2::Client.new(oauth_id, oauth_secret, site: host)
end
hello() click to toggle source
# File lib/kekeewin.rb, line 31
def self.hello
  return "Hello, World!"
end