class PQSDK::Settings

The Settings class contains the configuration for the library.

Attributes

app_secret[RW]
host[RW]
schema[RW]

Public Class Methods

api_root() click to toggle source
# File lib/pqsdk/settings.rb, line 17
def self.api_root
  "#{schema}://#{host}"
end
app_secret=(secret) click to toggle source
# File lib/pqsdk/settings.rb, line 11
def app_secret=(secret)
  Token.reset!
  @app_secret = secret
end