Class: Nylas::Applications

Inherits:
Resource show all
Includes:
ApiOperations::Get
Defined in:
lib/nylas/resources/applications.rb

Overview

Application

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sdk_instance) ⇒ Applications

Initializes the application.



15
16
17
18
# File 'lib/nylas/resources/applications.rb', line 15

def initialize(sdk_instance)
  super(sdk_instance)
  @redirect_uris = RedirectUris.new(sdk_instance)
end

Instance Attribute Details

#redirect_urisObject (readonly)

Returns the value of attribute redirect_uris.



12
13
14
# File 'lib/nylas/resources/applications.rb', line 12

def redirect_uris
  @redirect_uris
end

Instance Method Details

#get_detailsArray(Hash, String)

Get application details.

Returns:

  • (Array(Hash, String))

    Application details and API Request ID.



23
24
25
# File 'lib/nylas/resources/applications.rb', line 23

def get_details
  get(path: "#{api_uri}/v3/applications")
end