Module: MotionYak::Config

Defined in:
lib/motion_yak/config.rb

Class Method Summary collapse

Class Method Details

.api_keyObject



7
8
9
# File 'lib/motion_yak/config.rb', line 7

def self.api_key
 @@api_key
end

.api_key=(a) ⇒ Object



3
4
5
# File 'lib/motion_yak/config.rb', line 3

def self.api_key=(a)
 @@api_key =  a
end

.callbackObject



15
16
17
# File 'lib/motion_yak/config.rb', line 15

def self.callback
 @@callback
end

.callback=(c) ⇒ Object



11
12
13
# File 'lib/motion_yak/config.rb', line 11

def self.callback=(c)
 @@callback =  c
end

.pushObject



23
24
25
# File 'lib/motion_yak/config.rb', line 23

def self.push
 @@push
end

.push=(c) ⇒ Object



19
20
21
# File 'lib/motion_yak/config.rb', line 19

def self.push=(c)
 @@push =  c
end

.push_paramsObject



27
28
29
# File 'lib/motion_yak/config.rb', line 27

def self.push_params
 (@@push ? "True" : "False")
end