Sha256: ff0381c5124bee50f6d95eff4a0262a3582d633d8b4fe83355eb9fa44fea5354

Contents?: true

Size: 948 Bytes

Versions: 12

Compression:

Stored size: 948 Bytes

Contents

# frozen_string_literal: true

Aws.config[:sqs] = {
  stub_responses: {
    list_queues: {
      queue_urls: [
        'https://sqs.ap-northeast-1.amazonaws.com/123456789012/my-queue',
        'https://sqs.ap-northeast-1.amazonaws.com/123456789012/my-queue2'
      ]
    },
    get_queue_attributes: {
      attributes: {
        'QueueArn' => 'arn:aws:sqs:ap-northeast-1:123456789012:my-queue',
        'ApproximateNumberOfMessages' => '0',
        'ApproximateNumberOfMessagesNotVisible' => '0',
        'ApproximateNumberOfMessagesDelayed' => '0',
        'CreatedTimestamp' => '1499422322',
        'LastModifiedTimestamp' => '1499422322',
        'VisibilityTimeout' => '30',
        'MaximumMessageSize' => '262144',
        'MessageRetentionPeriod' => '345600',
        'DelaySeconds' => '0',
        'ReceiveMessageWaitTimeSeconds' => '0'
      }
    },
    list_queue_tags: {
      tags: {
        'Name' => 'my-queue'
      }
    }
  }
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
awspec-1.30.0 lib/awspec/stub/sqs.rb
awspec-1.29.3 lib/awspec/stub/sqs.rb
awspec-1.29.2 lib/awspec/stub/sqs.rb
awspec-1.29.1 lib/awspec/stub/sqs.rb
awspec-1.29.0 lib/awspec/stub/sqs.rb
awspec-1.28.2 lib/awspec/stub/sqs.rb
awspec-1.28.1 lib/awspec/stub/sqs.rb
awspec-1.28.0 lib/awspec/stub/sqs.rb
awspec-1.27.1 lib/awspec/stub/sqs.rb
awspec-1.27.0 lib/awspec/stub/sqs.rb
awspec-1.26.0 lib/awspec/stub/sqs.rb
awspec-1.25.2 lib/awspec/stub/sqs.rb