Class: MotionscanConfig
- Inherits:
-
Object
- Object
- MotionscanConfig
- Defined in:
- lib/motion/project/motionscan.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#api_secret ⇒ Object
Returns the value of attribute api_secret.
Instance Method Summary collapse
-
#initialize(config) ⇒ MotionscanConfig
constructor
A new instance of MotionscanConfig.
Constructor Details
#initialize(config) ⇒ MotionscanConfig
Returns a new instance of MotionscanConfig.
9 10 11 |
# File 'lib/motion/project/motionscan.rb', line 9 def initialize(config) @config = config end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
6 7 8 |
# File 'lib/motion/project/motionscan.rb', line 6 def api_key @api_key end |
#api_secret ⇒ Object
Returns the value of attribute api_secret.
7 8 9 |
# File 'lib/motion/project/motionscan.rb', line 7 def api_secret @api_secret end |