Sha256: e40249e74d208f82c1222375aac612403c16ed659eac52675a279d983112f8bd

Contents?: true

Size: 367 Bytes

Versions: 9

Compression:

Stored size: 367 Bytes

Contents

module Trax
  module Controller
    module Resource
      module ResponseMeta
        extend ::ActiveSupport::Concern

        included do
          helper_method :resource_response_meta
        end

        def resource_response_meta
          @resource_response_meta ||= {
            :json_root => resource_root
          }
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
trax_controller-1.0.0 lib/trax/controller/resource/response_meta.rb
trax_controller-0.1.4 lib/trax/controller/resource/response_meta.rb
trax_controller-0.1.3 lib/trax/controller/resource/response_meta.rb
trax_controller-0.1.2 lib/trax/controller/resource/response_meta.rb
trax_controller-0.1.1 lib/trax/controller/resource/response_meta.rb
trax_controller-0.1.0 lib/trax/controller/resource/response_meta.rb
trax_controller-0.0.4 lib/trax/controller/resource/response_meta.rb
trax_controller-0.0.3 lib/trax/controller/resource/response_meta.rb
trax_controller-0.0.2 lib/trax/controller/resource/response_meta.rb