Sha256: 8c266591fd0e8c44bc28783d1a2a83dc240860b3093a1d4da9e755fdd4218682

Contents?: true

Size: 472 Bytes

Versions: 1

Compression:

Stored size: 472 Bytes

Contents

require "sinatra"

module WebTrap
  class Server < Sinatra::Base
    @payload_was_valid = false
    @request_received = false

    def self.payload_was_valid?
      @payload_was_valid
    end

    def self.payload_was_valid=(payload_was_valid)
      @payload_was_valid = payload_was_valid
    end

    def self.request_received?
      @request_received
    end

    def self.request_received=(request_received)
      @request_received = request_received
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
webtrap-0.0.0 lib/webtrap/server.rb