Class: Bricolage::SQSMock::SendMessageResponse
- Defined in:
- lib/bricolage/sqsmock.rb
Instance Attribute Summary collapse
-
#message_id ⇒ Object
readonly
Returns the value of attribute message_id.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(successful:, message_id:) ⇒ SendMessageResponse
constructor
A new instance of SendMessageResponse.
Methods inherited from Response
Constructor Details
#initialize(successful:, message_id:) ⇒ SendMessageResponse
Returns a new instance of SendMessageResponse.
102 103 104 105 |
# File 'lib/bricolage/sqsmock.rb', line 102 def initialize(successful:, message_id:) super(successful: successful) @message_id = end |
Instance Attribute Details
#message_id ⇒ Object (readonly)
Returns the value of attribute message_id.
107 108 109 |
# File 'lib/bricolage/sqsmock.rb', line 107 def @message_id end |
Class Method Details
.successful ⇒ Object
98 99 100 |
# File 'lib/bricolage/sqsmock.rb', line 98 def SendMessageResponse.successful new(successful: true, message_id: "sqs-sent-message-id-#{Message.new_seq}") end |