module Tyntec::REST::UriHelper

Module with rest uri helpers

Public Instance Methods

build_uri(*paths) click to toggle source
# File lib/tyntec-ruby/rest/uri_helper.rb, line 5
def build_uri(*paths)
  paths.map { |e| e.chomp('/').gsub(%r{^/}, '') }.join('/')
end