Sha256: 91062cfc8225778f248c29124f2dcbbb0a0c1114fa4fed939e4806d81870e092

Contents?: true

Size: 175 Bytes

Versions: 1

Compression:

Stored size: 175 Bytes

Contents

require 'sinatra/base'

module FakeSQS
  class Helper

    def queue_from_url(queue_url)
      uri = URI.parse(queue_url)
      return uri.path.tr('/', '')
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fake_sqs-0.4.2 lib/fake_sqs/helper.rb