Closed Stephenitis closed 8 years ago
ehhh nevermind I didn't realize that .get was aliased to .get_messages
def get_messages(options = {})
if options.is_a?(String)
# assume it's an id
# ISSUE # 76 problem response is not passed to the message in this method.
return Message.new(self, {"id" => options})
end
resp = call_api_and_parse_response(:get, "/messages", options, false)
process_messages(resp["messages"], options)
end
created a pull request to add the response body for a single message from queue.get("message_id") previously it was not returned. https://github.com/iron-io/iron_mq_ruby/pull/77
/wave @Stephenitis is this resolved via v3 (as follows #77 ) ?
correct me if i'm wrong here.
I'm not seeing a GET message by ID return the status of the message the request body comes back with
This is the Message Object I'm seeing.
version 5.0.1