Class: EMIS::Responses::GetReserveDrillDaysResponse
- Defined in:
- lib/emis/responses/get_reserve_drill_days_response.rb
Overview
EMIS reserve drill days response
Instance Method Summary collapse
-
#item_schema ⇒ Hash
Schema for translating XML data into model data.
-
#item_tag_name ⇒ String
XML Tag that contains response data.
-
#model_class ⇒ Class
Model class to put response data.
Methods inherited from Response
#build_item, #build_item_value, #cache?, #empty?, #error, #error?, #find_all_elements_by_tag_name, #initialize, #items, #locate, #locate_one, #ok?
Constructor Details
This class inherits a constructor from EMIS::Responses::Response
Instance Method Details
#item_schema ⇒ Hash
Returns Schema for translating XML data into model data.
16 17 18 19 20 21 22 23 |
# File 'lib/emis/responses/get_reserve_drill_days_response.rb', line 16 def item_schema { 'reserveDrillSegmentIdentifier' => { rename: 'segment_identifier' }, 'reserveActiveDutyMonthlyCurrentPaidDays' => {}, 'reserveDrillMonthlyCurrentPaidDays' => {}, 'reserveDrillCurrentMonthlyPaidDate' => {} } end |
#item_tag_name ⇒ String
Returns XML Tag that contains response data.
11 12 13 |
# File 'lib/emis/responses/get_reserve_drill_days_response.rb', line 11 def item_tag_name 'reserveDrillDaysData' end |
#model_class ⇒ Class
Returns Model class to put response data.
26 27 28 |
# File 'lib/emis/responses/get_reserve_drill_days_response.rb', line 26 def model_class EMIS::Models::ReserveDrillDays end |