class PF::OAuth2Account

Attributes

access_token[RW]
client_id[RW]
client_secret[RW]
name[RW]
refresh_token[RW]

Public Class Methods

new(name, client_id, client_secret, access_token: nil, refresh_token: nil) click to toggle source
# File lib/pf/profile/profile.rb, line 154
def initialize(name, client_id, client_secret, access_token: nil, refresh_token: nil)
  @name = name
  @client_id = client_id
  @client_secret = client_secret
  @access_token = access_token
  @refresh_token = refresh_token
end

Public Instance Methods

equal?(other) click to toggle source
# File lib/pf/profile/profile.rb, line 162
def equal?(other)
  @name == other.name and @client_id = other.client_id and @client_secret = other.client_secret
end