Class: TableCheckApi::Pos::V1::PosJournals::CreateResponse

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



164
165
166
# File 'lib/table_check_api/pos/v1/pos_journals.rb', line 164

def pos_journal
  body['pos_journal']
end

#reservationsObject



168
169
170
# File 'lib/table_check_api/pos/v1/pos_journals.rb', line 168

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