Skip to content

Incorrect number of arguments #25

@benderTheCrime

Description

@benderTheCrime

Hey There!

What version of the aws-sdk is this package designed around? I am calling send_message on a new
queue in a service where historically I have only needed to pass options = {}. An error is being thrown from the SendMessage call in the response:

2015-09-01 16:08:15 - ArgumentError - wrong number of arguments (1 for 2):
    xxx/fake_sqs-0.3.0/lib/fake_sqs/actions/send_message.rb:11:in `call'
    xxx/fake_sqs-0.3.0/lib/fake_sqs/api.rb:41:in `block in call'
    xxx/fake_sqs-0.3.0/lib/fake_sqs/queues.rb:51:in `block in transaction'
    xxx/fake_sqs-0.3.0/lib/fake_sqs/memory_database.rb:24:in `transaction'
    xxx/fake_sqs-0.3.0/lib/fake_sqs/queues.rb:50:in `transaction'
    xxx/fake_sqs-0.3.0/lib/fake_sqs/api.rb:38:in `call'
    xxx//fake_sqs-0.3.0/lib/fake_sqs/web_interface.rb:39:in `block in <class:WebInterface>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions