Class: CurdBee::Config
- Inherits:
-
Object
- Object
- CurdBee::Config
- Defined in:
- lib/curdbee/config.rb
Constant Summary collapse
- @@api_key =
"your_api_key"
- @@subdomain =
"subdomain"
- @@use_https =
true
Class Method Summary collapse
- .api_key ⇒ Object
- .api_key=(api_key) ⇒ Object
- .subdomain ⇒ Object
- .subdomain=(subdomain) ⇒ Object
- .use_https ⇒ Object
- .use_https=(use_https) ⇒ Object
Class Method Details
.api_key ⇒ Object
12 13 14 |
# File 'lib/curdbee/config.rb', line 12 def self.api_key @@api_key end |
.api_key=(api_key) ⇒ Object
8 9 10 |
# File 'lib/curdbee/config.rb', line 8 def self.api_key=(api_key) @@api_key = api_key end |
.subdomain ⇒ Object
20 21 22 |
# File 'lib/curdbee/config.rb', line 20 def self.subdomain @@subdomain end |
.subdomain=(subdomain) ⇒ Object
16 17 18 |
# File 'lib/curdbee/config.rb', line 16 def self.subdomain=(subdomain) @@subdomain = subdomain end |
.use_https ⇒ Object
28 29 30 |
# File 'lib/curdbee/config.rb', line 28 def self.use_https @@use_https end |
.use_https=(use_https) ⇒ Object
24 25 26 |
# File 'lib/curdbee/config.rb', line 24 def self.use_https=(use_https) @@use_https = use_https end |