Class: TableCheckApi::Pos::V1::PosJournals::PosJournalResponse

Inherits:
BaseResponse
  • Object
show all
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_journalObject



174
175
176
# File 'lib/table_check_api/pos/v1/pos_journals.rb', line 174

def pos_journal
  body['pos_journal']
end

#reservationsObject



178
179
180
# File 'lib/table_check_api/pos/v1/pos_journals.rb', line 178

def reservations
  body['reservations'] || []
end