Class: Rssly::Serializers::JSON
- Inherits:
-
Serializer
- Object
- Serializer
- Rssly::Serializers::JSON
- Defined in:
- lib/rssly/serializers.rb
Overview
Transforms a collection into a json representation
Instance Method Summary collapse
Methods inherited from Serializer
Constructor Details
This class inherits a constructor from Rssly::Serializers::Serializer
Instance Method Details
#perform ⇒ Object
58 59 60 |
# File 'lib/rssly/serializers.rb', line 58 def perform @collection.to_json end |