Class: GustoEmbedded::Shared::Admin

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

Overview

The representation of an admin user in Gusto.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(uuid: nil, email: nil, first_name: nil, last_name: nil) ⇒ Admin

Returns a new instance of Admin.



25
26
27
28
29
30
# File 'lib/gusto_embedded/models/shared/admin.rb', line 25

def initialize(uuid: nil, email: nil, first_name: nil, last_name: nil)
  @uuid = uuid
  @email = email
  @first_name = first_name
  @last_name = last_name
end