class Contentful::ObjectCoercion
Coercion for Object Types
Public Instance Methods
Source
# File lib/contentful/coercions.rb, line 81 def coerce(*) JSON.parse(JSON.dump(value), symbolize_names: true) end
Coerces value to hash, symbolizing each key