Class: PQSDK::Settings
- Inherits:
-
Object
- Object
- PQSDK::Settings
- Defined in:
- lib/pqsdk/settings.rb
Constant Summary collapse
- @@host =
Why not cattr_accessor? :(
nil- @@app_secret =
nil- @@schema =
'http'
Class Method Summary collapse
- .app_secret ⇒ Object
- .app_secret=(val) ⇒ Object
- .host ⇒ Object
- .host=(val) ⇒ Object
- .schema ⇒ Object
- .schema=(val) ⇒ Object
Class Method Details
.app_secret ⇒ Object
17 18 19 |
# File 'lib/pqsdk/settings.rb', line 17 def self.app_secret @@app_secret end |
.app_secret=(val) ⇒ Object
21 22 23 |
# File 'lib/pqsdk/settings.rb', line 21 def self.app_secret=(val) @@app_secret = val end |
.host ⇒ Object
9 10 11 |
# File 'lib/pqsdk/settings.rb', line 9 def self.host @@host end |
.host=(val) ⇒ Object
13 14 15 |
# File 'lib/pqsdk/settings.rb', line 13 def self.host=(val) @@host = val end |
.schema ⇒ Object
25 26 27 |
# File 'lib/pqsdk/settings.rb', line 25 def self.schema @@schema end |
.schema=(val) ⇒ Object
29 30 31 |
# File 'lib/pqsdk/settings.rb', line 29 def self.schema=(val) @@schema = val end |