Sha256: 8703a900ae13b5f1b90978cad159b46c4a53187c53d0c608baaac1b2ad140aa6

Contents?: true

Size: 342 Bytes

Versions: 1

Compression:

Stored size: 342 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 = nil
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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