Sha256: bbff61ea7506b572e014f601b5d89ca3d6a84436c5968bf177194c02e5a894f2

Contents?: true

Size: 581 Bytes

Versions: 1

Compression:

Stored size: 581 Bytes

Contents

module Nylas
  # Ruby representation of the Nylas /account API
  # @see https://docs.nylas.com/reference#account
  class CurrentAccount
    include Model

    self.read_only = true
    self.searchable = false
    self.collectionable = false

    self.resources_path = "/account"

    attribute :id, :string
    attribute :object, :string, default: "account"

    attribute :account_id, :string
    attribute :email_address, :string
    attribute :name, :string
    attribute :organization_unit, :string
    attribute :provider, :string
    attribute :sync_state, :string
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nylas-4.0.0.rc2 lib/nylas/current_account.rb