class TotalVoice::Route
Public Class Methods
new(paths)
click to toggle source
-
Args :
-
paths
-> Array com valores para montar a rota
-
# File lib/route.rb, line 7 def initialize(paths) @paths = paths end
Public Instance Methods
build()
click to toggle source
Monta a URL de acordo com os parĂ¢metros
# File lib/route.rb, line 14 def build() @paths.join("/") end