modules/meb_api/app/controllers/meb_api/v0/education_benefits_controller.rb
def service_history
        render json:
        { data: {
          'beginDate': '2010-10-26T18:00:54.302Z',
          'endDate': '2021-10-26T18:00:54.302Z',
          'branchOfService': 'ArmyActiveDuty',
          'trainingPeriods': [
            {
              'beginDate': '2018-10-26T18:00:54.302Z',
              'endDate': '2019-10-26T18:00:54.302Z'
            }
          ],
          'exclusionPeriods': [{ 'beginDate': '2012-10-26T18:00:54.302Z', 'endDate': '2013-10-26T18:00:54.302Z' }],
          'characterOfService': 'Honorable',
          'reasonForSeparation': 'ExpirationTimeOfService'
        } }
      end
# disabling checks while we serve big mock JSON objects. Check will be reinstated when we integrate with DGIB
disabling checks while we serve big mock JSON objects. Check will be reinstated when we integrate with DGIB
disabling checks while we serve big mock JSON objects . Check will be reinstated when we integrate with DGIB
def service_history
        render json:
        { data: {
          'beginDate': '2010-10-26T18:00:54.302Z',
          'endDate': '2021-10-26T18:00:54.302Z',
          'branchOfService': 'ArmyActiveDuty',
          'trainingPeriods': [
            {
              'beginDate': '2018-10-26T18:00:54.302Z',
              'endDate': '2019-10-26T18:00:54.302Z'
            }
          ],
          'exclusionPeriods': [{ 'beginDate': '2012-10-26T18:00:54.302Z', 'endDate': '2013-10-26T18:00:54.302Z' }],
          'characterOfService': 'Honorable',
          'reasonForSeparation': 'ExpirationTimeOfService'
        } }
      end
def service_history render json : { data : { 'beginDate' : '2010-10-26T18:00:54.302Z' , 'endDate' : '2021-10-26T18:00:54.302Z' , 'branchOfService' : 'ArmyActiveDuty' , 'trainingPeriods' : [ { 'beginDate' : '2018-10-26T18:00:54.302Z' , 'endDate' : '2019-10-26T18:00:54.302Z' } ] , 'exclusionPeriods' : [ { 'beginDate' : '2012-10-26T18:00:54.302Z' , 'endDate' : '2013-10-26T18:00:54.302Z' } ] , 'characterOfService' : 'Honorable' , 'reasonForSeparation' : 'ExpirationTimeOfService' } } end
disabling checks while we serve big mock JSON objects.
disabling checks while we serve big mock JSON objects .