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

Help me to find how to add relationships to one model? #46

Open
sakthi-d opened this issue Sep 16, 2016 · 1 comment
Open

Help me to find how to add relationships to one model? #46

sakthi-d opened this issue Sep 16, 2016 · 1 comment

Comments

@sakthi-d
Copy link

No description provided.

@sakthi-d
Copy link
Author

Here is how my relationship dict contains data,
animals is the other resource model. I want map this to another one. please help me.

relationships = {
animals = {
links = {
related = "https://xxxx.xxxx.com/xxx/xxx/xxx/Unique_IDENDITIFIER/animals";
self = "https://xxxx.xxxx.com/xxx/xxx/xxx/Unique_IDENDITIFIER/relationships/animals"";
};
};
};

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