Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relationship data controller helper methods #20

Open
nicklandgrebe opened this issue Feb 24, 2017 · 0 comments
Open

Relationship data controller helper methods #20

nicklandgrebe opened this issue Feb 24, 2017 · 0 comments

Comments

@nicklandgrebe
Copy link
Owner

nicklandgrebe commented Feb 24, 2017

Story

As a developer, I want to be able to access relationship data, like for /data/relationships/transactions/data, but like this:

transactions_data # returns nil
transactions_data! # fails with error

Or nested associations like

transactions_payment_method_data
transactions_payment_method_data!

Return overridden object that allows you to retrieve the object referenced in the data

customer_data.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant