Top Level Namespace
Defined Under Namespace
Modules: NimbleApi
Instance Method Summary collapse
Instance Method Details
#NimbleApi(options = {}) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/nimble-api.rb', line 10 def NimbleApi(={}) [:client_id] = NimbleApi.client_id if NimbleApi.client_id [:client_secret] = NimbleApi.client_secret if NimbleApi.client_secret [:refresh_token] = NimbleApi.refresh_token if NimbleApi.refresh_token NimbleApi::Base.new() end |