Class: LockstepSdk::InviteSubmitModel

Inherits:
Object
  • Object
show all
Defined in:
lib/lockstep_sdk/models/invite_submit_model.rb

Overview

Model to invite a new user to your accounting group

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ InviteSubmitModel

Initialize the InviteSubmitModel using the provided prototype



24
25
26
# File 'lib/lockstep_sdk/models/invite_submit_model.rb', line 24

def initialize(params = {})
    @email = params.dig(:email)
end

Instance Attribute Details

#emailEmail

Returns The email address of the user to invite.

Returns:

  • (Email)

    The email address of the user to invite



29
30
31
# File 'lib/lockstep_sdk/models/invite_submit_model.rb', line 29

def email
  @email
end