Sha256: b517c425329f24e1c7e6100ad967f7a26b1029fc5894136da755cc259d8a7ee4

Contents?: true

Size: 341 Bytes

Versions: 1

Compression:

Stored size: 341 Bytes

Contents

module RapidRunty
  module Router
    ##
    # Defines a single user defined route.
    class Route
      attr_accessor :verb, :path, :options, :placeholders

      def initialize(verb, path, options)
        self.verb = verb
        self.path = path
        self.options = options
        self.placeholders = {}
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rapid_runty-0.1.4 lib/rapid_runty/router/route.rb