Sha256: b3d9646e5455665b43b07ca46774a5d64d3b97e52c4c4d43553683ef79a7ba0d
Contents?: true
Size: 702 Bytes
Versions: 20
Compression:
Stored size: 702 Bytes
Contents
if Rails.gem_version >= Gem::Version.new('4.2.0') require 'responders' else require 'action_controller' end require "garage/hypermedia_responder" require "garage/resource_casting_responder" require "garage/paginating_responder" require "garage/optional_response_body_responder" class Garage::AppResponder < ActionController::Responder # like Rack middleware, responders are applied outside in, bottom to the top include Garage::HypermediaResponder include Garage::ResourceCastingResponder include Garage::PaginatingResponder include Garage::OptionalResponseBodyResponder # in case someone tries to do Object#to_msgpack undef_method(:to_msgpack) if method_defined?(:to_msgpack) end
Version data entries
20 entries across 20 versions & 1 rubygems