Class: Gamifier::DSL::ApiKey
- Inherits:
-
Object
- Object
- Gamifier::DSL::ApiKey
- Defined in:
- lib/gamifier/dsl/api_key.rb
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
- #engine ⇒ Object
-
#initialize(*args) ⇒ ApiKey
constructor
A new instance of ApiKey.
- #method_missing(*args, &block) ⇒ Object
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args, &block) ⇒ Object
14 15 16 |
# File 'lib/gamifier/dsl/api_key.rb', line 14 def method_missing(*args, &block) source.send(*args, &block) end |
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
4 5 6 |
# File 'lib/gamifier/dsl/api_key.rb', line 4 def source @source end |
Instance Method Details
#engine ⇒ Object
10 11 12 |
# File 'lib/gamifier/dsl/api_key.rb', line 10 def engine source.engine end |