Class: JsonApiClient::Associations::BaseAssociation
- Inherits:
-
Object
- Object
- JsonApiClient::Associations::BaseAssociation
- Defined in:
- lib/dina/json_api_client_patch.rb
Instance Method Summary collapse
Instance Method Details
#data(url) ⇒ Object
5 6 7 8 |
# File 'lib/dina/json_api_client_patch.rb', line 5 def data(url) url.sub!("/api/v1/", "/api/#{klass.endpoint_path}") from_result_set(association_class.requestor.linked(url)) end |