Sha256: f87f5d42e6494de94417cdb12722c92c073192e5799a0c2bd9a68dccf180a8fd

Contents?: true

Size: 339 Bytes

Versions: 9

Compression:

Stored size: 339 Bytes

Contents

class Gon
  class Request
    def initialize(environment)
      @request_env = environment
      @gon = {}
    end

    def env
      @request_env
    end

    def id
      @request_id
    end

    def id=(request_id)
      @request_id = request_id
    end

    def gon
      @gon
    end

    def clear
      @gon = {}
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gon-6.0.1 lib/gon/request.rb
gon-6.0.0 lib/gon/request.rb
gon-5.2.3 lib/gon/request.rb
gon-5.2.2 lib/gon/request.rb
gon-5.2.1 lib/gon/request.rb
gon-5.2.0 lib/gon/request.rb
gon-5.1.2 lib/gon/request.rb
gon-5.1.1 lib/gon/request.rb
gon-5.1.0 lib/gon/request.rb