Class: GustoEmbedded::Operations::User

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

Overview

Information for the user who will be the primary payroll administrator for the new company.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(email: nil, first_name: nil, last_name: nil, phone: nil) ⇒ User

Returns a new instance of User.



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

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