Class: Users::Scaffold

Inherits:
Struct
  • Object
show all
Defined in:
app/services/users/scaffold.rb

Overview

Struct class serving as the pre-serialized object that is passed to the UserSerializer during the ‘/v0/user’ endpoint call.

Note that with Struct’s, parameter order matters. Namely having ‘errors` first and `status` second.

rubocop:disable Style/StructInheritance

Instance Attribute Summary collapse

Instance Attribute Details

#accountObject

Returns the value of attribute account

Returns:

  • (Object)

    the current value of account



11
12
13
# File 'app/services/users/scaffold.rb', line 11

def 
  @account
end

#errorsObject

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



11
12
13
# File 'app/services/users/scaffold.rb', line 11

def errors
  @errors
end

#in_progress_formsObject

Returns the value of attribute in_progress_forms

Returns:

  • (Object)

    the current value of in_progress_forms



11
12
13
# File 'app/services/users/scaffold.rb', line 11

def in_progress_forms
  @in_progress_forms
end

#onboardingObject

Returns the value of attribute onboarding

Returns:

  • (Object)

    the current value of onboarding



11
12
13
# File 'app/services/users/scaffold.rb', line 11

def onboarding
  @onboarding
end

#prefills_availableObject

Returns the value of attribute prefills_available

Returns:

  • (Object)

    the current value of prefills_available



11
12
13
# File 'app/services/users/scaffold.rb', line 11

def prefills_available
  @prefills_available
end

#profileObject

Returns the value of attribute profile

Returns:

  • (Object)

    the current value of profile



11
12
13
# File 'app/services/users/scaffold.rb', line 11

def profile
  @profile
end

#servicesObject

Returns the value of attribute services

Returns:

  • (Object)

    the current value of services



11
12
13
# File 'app/services/users/scaffold.rb', line 11

def services
  @services
end

#sessionObject

Returns the value of attribute session

Returns:

  • (Object)

    the current value of session



11
12
13
# File 'app/services/users/scaffold.rb', line 11

def session
  @session
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



11
12
13
# File 'app/services/users/scaffold.rb', line 11

def status
  @status
end

#va_profileObject

Returns the value of attribute va_profile

Returns:

  • (Object)

    the current value of va_profile



11
12
13
# File 'app/services/users/scaffold.rb', line 11

def va_profile
  @va_profile
end

#vet360_contact_informationObject

Returns the value of attribute vet360_contact_information

Returns:

  • (Object)

    the current value of vet360_contact_information



11
12
13
# File 'app/services/users/scaffold.rb', line 11

def vet360_contact_information
  @vet360_contact_information
end

#veteran_statusObject

Returns the value of attribute veteran_status

Returns:

  • (Object)

    the current value of veteran_status



11
12
13
# File 'app/services/users/scaffold.rb', line 11

def veteran_status
  @veteran_status
end