Module: Plangrade::ApiHandler
- Included in:
- Plangrade, Resources::Base
- Defined in:
- lib/plangrade/api_handler.rb
Instance Method Summary collapse
Instance Method Details
#api_handler ⇒ Object
4 5 6 |
# File 'lib/plangrade/api_handler.rb', line 4 def api_handler establish_api_handler end |
#establish_api_handler(opts = {}) ⇒ Object
8 9 10 |
# File 'lib/plangrade/api_handler.rb', line 8 def establish_api_handler(opts={}) Plangrade::Client.new(opts) end |