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