Class: CortexApp::Api
- Inherits:
-
Object
- Object
- CortexApp::Api
- Defined in:
- lib/cortex_app/api.rb
Overview
Base class for Cortex API classes
Direct Known Subclasses
Constant Summary collapse
- API_URL =
'https://api.getcortexapp.com/api/v1'
Instance Method Summary collapse
-
#initialize(bearer_token:) ⇒ Api
constructor
A new instance of Api.
Constructor Details
#initialize(bearer_token:) ⇒ Api
Returns a new instance of Api.
11 |
# File 'lib/cortex_app/api.rb', line 11 def initialize(bearer_token:) = @bearer_token = bearer_token |