Class: Nylas::Applications
- Includes:
- 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
-
#info ⇒ Array(Hash, String)
Gets the application object.
-
#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
#info ⇒ Array(Hash, String)
Gets the application object.
23 24 25 |
# File 'lib/nylas/resources/applications.rb', line 23 def info get(path: "#{api_uri}/v3/applications") end |