lib/stackone/models/shared/applicationcandidate.rb in stackone_client-0.0.1 vs lib/stackone/models/shared/applicationcandidate.rb in stackone_client-0.0.2

- old
+ new

@@ -7,18 +7,18 @@ require 'faraday' module StackOne module Shared - class ApplicationCandidate < StackOne::Utils::FieldAugmented + class ApplicationCandidate < ::StackOne::Utils::FieldAugmented extend T::Sig # Email of the candidate - field :email, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('email') } } + field :email, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } } # First name of the candidate - field :first_name, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('first_name') } } + field :first_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } } # Last name of the candidate - field :last_name, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('last_name') } } + field :last_name, T.nilable(String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } } sig { params(email: T.nilable(String), first_name: T.nilable(String), last_name: T.nilable(String)).void } def initialize(email: nil, first_name: nil, last_name: nil) @email = email