Sha256: 90e84042807b454212bcb5faf1e03e0ba8c32581aaaf3596d680949e41cdc6a3

Contents?: true

Size: 202 Bytes

Versions: 24

Compression:

Stored size: 202 Bytes

Contents

module Twilio
  module REST
    def url_join(left, right)
      left = left.sub(/\/+$/, '').sub(/^\/+/, '')
      right = right.sub(/\/+$/, '').sub(/^\/+/, '')
      "#{left}/#{right}"
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc26 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc25 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc24 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc23 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc22 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc21 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc20 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc19 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc18 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc17 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc16 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc15 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc14 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc13 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc12 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc11 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc10 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc9 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc8 lib/twilio-ruby/framework/helper.rb
twilio-ruby-5.0.0.rc7 lib/twilio-ruby/framework/helper.rb