Method: RTX::API::Collection#meta

Defined in:
lib/rtx/api/collection.rb

#metaObject

Returns the metadata about the current response


65
66
67
68
69
# File 'lib/rtx/api/collection.rb', line 65

def meta
  client.authenticate if !client.authenticated?
  collection if !has_response?
  response.reject {|key,_| key == :_embedded}
end