Sha256: 1edf08ab95f7c3c3ce022985fd9c59d84d75a2b78b4b23c6396ed92f0358b5d9

Contents?: true

Size: 170 Bytes

Versions: 2

Compression:

Stored size: 170 Bytes

Contents

module JSONAPIonify::Api
  class Base::Reloader < Struct.new :app

    def call(env)
      Base.descendants.each(&:load_resources)
      app.call(env)
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jsonapionify-0.9.0 lib/jsonapionify/api/base/reloader.rb
jsonapionify-0.0.1.pre lib/jsonapionify/api/base/reloader.rb