Class: Users::Scaffold
- Inherits:
-
Struct
- Object
- Struct
- Users::Scaffold
- 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
-
#account ⇒ Object
Returns the value of attribute account.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#in_progress_forms ⇒ Object
Returns the value of attribute in_progress_forms.
-
#onboarding ⇒ Object
Returns the value of attribute onboarding.
-
#prefills_available ⇒ Object
Returns the value of attribute prefills_available.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#services ⇒ Object
Returns the value of attribute services.
-
#session ⇒ Object
Returns the value of attribute session.
-
#status ⇒ Object
Returns the value of attribute status.
-
#va_profile ⇒ Object
Returns the value of attribute va_profile.
-
#vet360_contact_information ⇒ Object
Returns the value of attribute vet360_contact_information.
-
#veteran_status ⇒ Object
Returns the value of attribute veteran_status.
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account
11 12 13 |
# File 'app/services/users/scaffold.rb', line 11 def account @account end |
#errors ⇒ Object
Returns the value of attribute errors
11 12 13 |
# File 'app/services/users/scaffold.rb', line 11 def errors @errors end |
#in_progress_forms ⇒ Object
Returns the value of attribute in_progress_forms
11 12 13 |
# File 'app/services/users/scaffold.rb', line 11 def in_progress_forms @in_progress_forms end |
#onboarding ⇒ Object
Returns the value of attribute onboarding
11 12 13 |
# File 'app/services/users/scaffold.rb', line 11 def onboarding @onboarding end |
#prefills_available ⇒ Object
Returns the value of attribute prefills_available
11 12 13 |
# File 'app/services/users/scaffold.rb', line 11 def prefills_available @prefills_available end |
#profile ⇒ Object
Returns the value of attribute profile
11 12 13 |
# File 'app/services/users/scaffold.rb', line 11 def profile @profile end |
#services ⇒ Object
Returns the value of attribute services
11 12 13 |
# File 'app/services/users/scaffold.rb', line 11 def services @services end |
#session ⇒ Object
Returns the value of attribute session
11 12 13 |
# File 'app/services/users/scaffold.rb', line 11 def session @session end |
#status ⇒ Object
Returns the value of attribute status
11 12 13 |
# File 'app/services/users/scaffold.rb', line 11 def status @status end |
#va_profile ⇒ Object
Returns the value of attribute va_profile
11 12 13 |
# File 'app/services/users/scaffold.rb', line 11 def va_profile @va_profile end |
#vet360_contact_information ⇒ Object
Returns the value of attribute vet360_contact_information
11 12 13 |
# File 'app/services/users/scaffold.rb', line 11 def vet360_contact_information @vet360_contact_information end |
#veteran_status ⇒ Object
Returns the value of attribute veteran_status
11 12 13 |
# File 'app/services/users/scaffold.rb', line 11 def veteran_status @veteran_status end |