Module: Contentful::Management::Resource::AssetFields

Included in:
Asset
Defined in:
lib/contentful/management/resource/asset_fields.rb

Overview

Adds Field Coercions for [Asset]

Instance Method Summary collapse

Instance Method Details

#fields_coercionsObject

Special fields for Asset.



9
10
11
12
13
14
15
# File 'lib/contentful/management/resource/asset_fields.rb', line 9

def fields_coercions
  {
    title: :hash,
    description: :hash,
    file: Contentful::Management::File
  }
end