Class: Nylas::Applications
- Includes:
- Nylas::ApiOperations::Get
- Defined in:
- lib/nylas/resources/applications.rb
Overview
Application
Instance Attribute Summary collapse
-
#redirect_uris ⇒ Object
readonly
Returns the value of attribute redirect_uris.
Instance Method Summary collapse
-
#get_details ⇒ Array(Hash, String)
Get application details.
-
#initialize(sdk_instance) ⇒ Applications
constructor
Initializes the application.
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_uris ⇒ Object (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_details ⇒ Array(Hash, String)
Get application details.
23 24 25 |
# File 'lib/nylas/resources/applications.rb', line 23 def get_details get(path: "#{api_uri}/v3/applications") end |