module GooglePlus::Authenticatable

Public Instance Methods

credentials() click to toggle source

Credentials hash

@return [Hash]

# File lib/google_plus/authenticatable.rb, line 7
def credentials
  {
    :consumer_key => consumer_key,
    :consumer_secret => consumer_secret,
    :token => oauth_token,
    :token_secret => oauth_token_secret,
  }
end
credentials?() click to toggle source

Check whether credentials are present

@return [Boolean]

# File lib/google_plus/authenticatable.rb, line 19
def credentials?
  credentials.values.all?
end