Module: MotionYak::Config
- Defined in:
- lib/motion_yak/config.rb
Class Method Summary collapse
- .api_key ⇒ Object
- .api_key=(a) ⇒ Object
- .callback ⇒ Object
- .callback=(c) ⇒ Object
- .push ⇒ Object
- .push=(c) ⇒ Object
- .push_params ⇒ Object
Class Method Details
.api_key ⇒ Object
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 |
.callback ⇒ Object
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 |
.push ⇒ Object
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_params ⇒ Object
27 28 29 |
# File 'lib/motion_yak/config.rb', line 27 def self.push_params (@@push ? "True" : "False") end |