We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
file
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.
nil
The text was updated successfully, but these errors were encountered:
Parse nested locales in AssetFields
AssetFields
f0cd256
Fixes #63
neonichu
No branches or pull requests
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
.The text was updated successfully, but these errors were encountered: