Class: EPIC::Handle::JSON

Inherits:
Rackful::JSON show all
Defined in:
src/epic_handle.rb

Constant Summary

Constant Summary

Constants inherited from Rackful::JSON

Rackful::JSON::CONTENT_TYPES

Instance Attribute Summary

Attributes inherited from Rackful::Serializer

#content_type, #resource

Instance Method Summary (collapse)

Methods inherited from Rackful::JSON

parse, recursive_datetime_parser

Methods inherited from Rackful::Serializer

#initialize

Constructor Details

This class inherits a constructor from Rackful::Serializer

Instance Method Details

- (void) each {|::JSON::pretty_generate( self.resource.to_a )| ... }

Yields:

  • (::JSON::pretty_generate( self.resource.to_a ))


348
349
350
# File 'src/epic_handle.rb', line 348

def each
  yield ::JSON::pretty_generate( self.resource.to_a )
end