Class: CycloneLariat::Fake
- Inherits:
-
Object
- Object
- CycloneLariat::Fake
- Defined in:
- lib/cyclone_lariat/fake.rb
Class Method Summary collapse
Class Method Details
.sns_publish_response(message) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/cyclone_lariat/fake.rb', line 5 def self.sns_publish_response() Aws::SNS::Types::PublishResponse.new.tap do |resp| resp. = SecureRandom.uuid resp.sequence_number = rand(10).to_s if .fifo? end end |
.sqs_send_message_result(message) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/cyclone_lariat/fake.rb', line 12 def self.() Aws::SQS::Types::SendMessageResult.new.tap do |res| res. = SecureRandom.uuid res.sequence_number = rand(10).to_s if .fifo? end end |