Class: GustoEmbedded::Shared::Authentication

Inherits:
Crystalline::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/gusto_embedded/models/shared/authentication.rb

Overview

Example response

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(access_token: nil, created_at: nil, expires_in: nil, refresh_token: nil, scope: nil, token_type: nil) ⇒ Authentication

Returns a new instance of Authentication.



29
30
31
32
33
34
35
36
# File 'lib/gusto_embedded/models/shared/authentication.rb', line 29

def initialize(access_token: nil, created_at: nil, expires_in: nil, refresh_token: nil, scope: nil, token_type: nil)
  @access_token = access_token
  @created_at = created_at
  @expires_in = expires_in
  @refresh_token = refresh_token
  @scope = scope
  @token_type = token_type
end