Sha256: da8f2a54f4b785a188fde4c2d1b379e822468d50580087ece45d9ae4d4533aad

Contents?: true

Size: 377 Bytes

Versions: 9

Compression:

Stored size: 377 Bytes

Contents

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

        included do
          helper_method :collection_response_meta
        end

        def collection_response_meta
          @collection_response_meta ||= {
            :json_root => collection_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/collection/response_meta.rb
trax_controller-0.1.4 lib/trax/controller/collection/response_meta.rb
trax_controller-0.1.3 lib/trax/controller/collection/response_meta.rb
trax_controller-0.1.2 lib/trax/controller/collection/response_meta.rb
trax_controller-0.1.1 lib/trax/controller/collection/response_meta.rb
trax_controller-0.1.0 lib/trax/controller/collection/response_meta.rb
trax_controller-0.0.4 lib/trax/controller/collection/response_meta.rb
trax_controller-0.0.3 lib/trax/controller/collection/response_meta.rb
trax_controller-0.0.2 lib/trax/controller/collection/response_meta.rb