Sha256: 35f15ee2542e4b20dee52d6aab64c41f84835356cec10efab06a68c7ce9e1ed4

Contents?: true

Size: 617 Bytes

Versions: 10

Compression:

Stored size: 617 Bytes

Contents

# frozen_string_literal: true

require_relative "resource"
require_relative "redirect_uris"
require_relative "../handler/api_operations"

module Nylas
  # Application
  class Applications < Resource
    include ApiOperations::Get

    attr_reader :redirect_uris

    # Initializes the application.
    def initialize(sdk_instance)
      super(sdk_instance)
      @redirect_uris = RedirectUris.new(sdk_instance)
    end

    # Get application details.
    #
    # @return [Array(Hash, String)] Application details and API Request ID.
    def get_details
      get(path: "#{api_uri}/v3/applications")
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
nylas-6.2.2 lib/nylas/resources/applications.rb
nylas-6.2.1 lib/nylas/resources/applications.rb
nylas-6.2.0 lib/nylas/resources/applications.rb
nylas-6.1.1 lib/nylas/resources/applications.rb
nylas-6.1.0 lib/nylas/resources/applications.rb
nylas-6.0.3 lib/nylas/resources/applications.rb
nylas-6.0.2 lib/nylas/resources/applications.rb
nylas-6.0.1 lib/nylas/resources/applications.rb
nylas-6.0.0 lib/nylas/resources/applications.rb
nylas-6.0.0.beta.4 lib/nylas/resources/applications.rb