class Mv::Core::Route::Base
Attributes
validation[R]
Public Class Methods
new(validation)
click to toggle source
# File lib/mv/core/route/base.rb, line 9 def initialize(validation) @validation = validation end
Public Instance Methods
route()
click to toggle source
# File lib/mv/core/route/base.rb, line 13 def route [Mv::Core::Constraint::Description.new(validation.index_name, :index)] end
Protected Instance Methods
description(name, type, opts = {})
click to toggle source
# File lib/mv/core/route/base.rb, line 19 def description(name, type, opts = {}) Mv::Core::Constraint::Description.new(name, type, opts) end