Method: RTX::API::Collection#data
- Defined in:
- lib/rtx/api/collection.rb
#data ⇒ Object
Returns all data associated with the existing response
58 59 60 61 62 |
# File 'lib/rtx/api/collection.rb', line 58 def data client.authenticate if !client.authenticated? collection if !has_response? response[:_embedded][resource_name] end |