Class: CurdBee::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/curdbee/config.rb

Constant Summary collapse

@@api_key =
"your_api_key"
@@subdomain =
"subdomain"
@@use_https =
true

Class Method Summary collapse

Class Method Details

.api_keyObject



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

.subdomainObject



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_httpsObject



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