module OurKudos::Acts::Client::InstanceMethods

Public Instance Methods

client() click to toggle source
# File lib/ourkudos/acts/client.rb, line 31
def client
  @client ||= OAuth2::Client.new self.application_id, self.application_secret, :site => self.ourkudos_host
end
ourkudos() click to toggle source
# File lib/ourkudos/acts/client.rb, line 35
def ourkudos
  @ourkudos ||= OAuth2::AccessToken.new(client, self.authentication_token)
end