Class: Rssly::Serializers::JSON

Inherits:
Serializer show all
Defined in:
lib/rssly/serializers.rb

Overview

Transforms a collection into a json representation

Instance Method Summary collapse

Methods inherited from Serializer

#initialize

Constructor Details

This class inherits a constructor from Rssly::Serializers::Serializer

Instance Method Details

#performObject



58
59
60
# File 'lib/rssly/serializers.rb', line 58

def perform
  @collection.to_json
end