Class: PQSDK::Settings
- Inherits:
-
Object
- Object
- PQSDK::Settings
- Defined in:
- lib/pqsdk/settings.rb
Overview
The Settings class contains the configuration for the library.
Class Attribute Summary collapse
-
.app_secret ⇒ Object
Returns the value of attribute app_secret.
-
.host ⇒ Object
Returns the value of attribute host.
-
.schema ⇒ Object
Returns the value of attribute schema.
Class Method Summary collapse
Class Attribute Details
.app_secret ⇒ Object
Returns the value of attribute app_secret.
5 6 7 |
# File 'lib/pqsdk/settings.rb', line 5 def app_secret @app_secret end |
.host ⇒ Object
Returns the value of attribute host.
5 6 7 |
# File 'lib/pqsdk/settings.rb', line 5 def host @host end |
.schema ⇒ Object
Returns the value of attribute schema.
5 6 7 |
# File 'lib/pqsdk/settings.rb', line 5 def schema @schema end |
Class Method Details
.api_root ⇒ Object
17 18 19 |
# File 'lib/pqsdk/settings.rb', line 17 def self.api_root "#{schema}://#{host}" end |