Method: Almanack::Representation::JSONFeed#to_s

Defined in:
lib/almanack/representation/json_feed.rb

#to_sObject



10
11
12
13
14
# File 'lib/almanack/representation/json_feed.rb', line 10

def to_s
  json_friendly = SerializedTransformation.new(serialized)
  json_friendly.key { |key| camelize(key.to_s) }
  json_friendly.apply.to_json
end