Module: Kreepr::Configurable
- Included in:
- Kreepr
- Defined in:
- lib/kreepr/configurable.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
Instance Method Summary collapse
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/kreepr/configurable.rb', line 3 def api_key @api_key end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
5 6 7 8 |
# File 'lib/kreepr/configurable.rb', line 5 def configure yield self validate_key_type! end |