Module: Bitly::Config
- Included in:
- Bitly
- Defined in:
- lib/bitly/config.rb
Overview
configuration module.
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#api_version ⇒ Object
Returns the value of attribute api_version.
Instance Method Summary collapse
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token.
7 8 9 |
# File 'lib/bitly/config.rb', line 7 def access_token @access_token end |
#api_version ⇒ Object
Returns the value of attribute api_version.
6 7 8 |
# File 'lib/bitly/config.rb', line 6 def api_version @api_version end |
Instance Method Details
#configure {|_self| ... } ⇒ Object
9 10 11 12 |
# File 'lib/bitly/config.rb', line 9 def configure yield self self end |