Module: GlobalCollect::Responses::SuccessRow

Defined in:
lib/global_collect/responses/success_row.rb

Overview

This is one of the classes of response that you can get from the API, which if successful returns a structure like: <RESPONSE>

<META>...</META>
<RESULT>...</RESULT>
<ROW> RELEVANT NODES HERE </ROW>

</RESPONSE>

Instance Method Summary collapse

Instance Method Details

#rowObject



10
11
12
13
# File 'lib/global_collect/responses/success_row.rb', line 10

def row
  return nil unless success?
  response['ROW']
end