Sha256: 8bb0458b60de0c7216eda335e63e8a7adf1350a06ce71e820d13a3add7737859

Contents?: true

Size: 501 Bytes

Versions: 5

Compression:

Stored size: 501 Bytes

Contents

# api_account.rb --- functions related to the /account endpoint.
# not to be confused with account.rb which is used by the hosted API
# account management endpoint.
require 'restful_model'

module Nylas
  class APIAccount < RestfulModel

    parameter :account_id
    parameter :email_address
    parameter :id
    parameter :name
    parameter :object
    parameter :organization_unit
    parameter :provider
    parameter :sync_state

    def self.collection_name
      "accounts"
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
nylas-3.2.0 lib/api_account.rb
nylas-3.1.1 lib/api_account.rb
nylas-3.1.0 lib/api_account.rb
nylas-shipmnts-3.0.0 lib/api_account.rb
nylas-3.0.0 lib/api_account.rb