Class: VAProfile::Models::VeteranStatus

Inherits:
Base
  • Object
show all
Includes:
Concerns::Defaultable
Defined in:
lib/va_profile/models/veteran_status.rb

Constant Summary

Constants inherited from Base

Base::SOURCE_SYSTEM

Class Method Summary collapse

Methods included from Concerns::Defaultable

#set_defaults

Class Method Details

.in_jsonString

Converts an instance of the VeteranStatus model to a JSON encoded string suitable for use in the body of a request to VAProfile

Returns:

  • (String)

    JSON-encoded string suitable for requests to VAProfile



17
18
19
20
21
22
23
24
25
# File 'lib/va_profile/models/veteran_status.rb', line 17

def self.in_json
  {
    bios: [
      {
        bioPath: 'militaryPerson.militarySummary'
      }
    ]
  }.to_json
end