ruby-amqp / rabbitmq_http_api_client

RabbitMQ HTTP API client for Ruby
MIT License
79 stars 49 forks source link

Unable to create users without tags - status 400 #21

Closed tetherit closed 9 years ago

tetherit commented 9 years ago
client.create_user('test', password: 'test')
Faraday::ClientError: the server responded with status 400
from /usr/local/lib/ruby/gems/2.2.0/gems/faraday-0.9.1/lib/faraday/response/raise_error.rb:13:in `on_complete'

Maybe the method should do some argument verifying and provide an empty list of tags if missing?

tetherit commented 9 years ago

Wow that was super quick, thank you!