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

Add utility class to wrap Contentful::Asset #3

Closed
edtjones opened this issue Feb 21, 2015 · 2 comments
Closed

Add utility class to wrap Contentful::Asset #3

edtjones opened this issue Feb 21, 2015 · 2 comments

Comments

@edtjones
Copy link

If a Contentful::Asset object is returned, it would be useful to easily extract e.g. the URL, and have methods for resizing. This is best done in a class which can be mapped to the returned objects.

@sebbean
Copy link
Contributor

sebbean commented Feb 8, 2017

yes plz!

@sebbean
Copy link
Contributor

sebbean commented Feb 8, 2017

btw @edtjones you can call .client.asset(id) on the model i just found out

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

2 participants