Class: Nylas::Resource
- Inherits:
-
Object
- Object
- Nylas::Resource
- Defined in:
- lib/nylas/resources/resource.rb
Overview
NOTE: BaseResource is the base class for all Nylas API resources. Used by all Nylas API resources
Direct Known Subclasses
Applications, Attachments, Auth, Calendars, Connectors, Contacts, Credentials, Drafts, Events, Folders, Grants, Messages, RedirectUris, SmartCompose, Threads, Webhooks
Instance Method Summary collapse
-
#initialize(sdk_instance) ⇒ Resource
constructor
Initializes a resource.
Constructor Details
#initialize(sdk_instance) ⇒ Resource
Initializes a resource.
8 9 10 11 12 |
# File 'lib/nylas/resources/resource.rb', line 8 def initialize(sdk_instance) @api_key = sdk_instance.api_key @api_uri = sdk_instance.api_uri @timeout = sdk_instance.timeout end |