Class: TableCheckApi::Pos::V1::PosJournals::PosJournalResponse
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- TableCheckApi::Pos::V1::PosJournals::PosJournalResponse
- Defined in:
- lib/table_check_api/pos/v1/pos_journals.rb
Instance Method Summary collapse
Methods inherited from BaseResponse
#errors, from_response, #initialize, #raw, #success?
Constructor Details
This class inherits a constructor from TableCheckApi::Pos::V1::BaseResponse
Instance Method Details
#pos_journal ⇒ Object
174 175 176 |
# File 'lib/table_check_api/pos/v1/pos_journals.rb', line 174 def pos_journal body['pos_journal'] end |
#reservations ⇒ Object
178 179 180 |
# File 'lib/table_check_api/pos/v1/pos_journals.rb', line 178 def reservations body['reservations'] || [] end |