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

Asset file properties are nil when using sync #63

Closed
neonichu opened this issue Jul 28, 2015 · 0 comments
Closed

Asset file properties are nil when using sync #63

neonichu opened this issue Jul 28, 2015 · 0 comments
Assignees
Labels

Comments

@neonichu
Copy link
Contributor

An asset retrieved via sync looks like this:

#<Contentful::Asset: @fields={:title=>"{\"en-US\"=>\"Doge\"}", :file=>#<Contentful::File: @properties={:fileName=>nil, :contentType=>nil, :details=>nil, :url=>nil}>, :description=>"{\"en-US\"=>\"nice picture\"}"} @sys={:space=>#<Contentful::Link: @sys={:type=>"Link", :linkType=>"Space", :id=>"cfexampleapi"}>, :type=>"Asset", :id=>"1x0xpXu4pSGS4OukSyWGUK", :revision=>6, :createdAt=>#<DateTime: 2013-11-06T09:45:10+00:00 ((2456603j,35110s,0n),+0s,2299161j)>, :updatedAt=>#<DateTime: 2013-12-18T13:27:14+00:00 ((2456645j,48434s,917000000n),+0s,2299161j)>}>

Obviously, the file properties should not be nil.

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

No branches or pull requests

1 participant