abstract class Melon::Api::Route
- Melon::Api::Route
- Reference
- Object
Overview
This class will be the base for all routes
Defined in:
melon/api.crConstructors
Instance Method Summary
- #api : Melon::Api.class?
- #api?
- #description : String
- #match?(method : String, path : String)
- #method : String
- #path : String
- #resource : Bool
Constructor Detail
def self.new(path, method : String = nil, api : ::Melon::Api.class | Nil = nil, description : String = "", resource : Bool = false)
#