YUKI Hiroshi
null+****@clear*****
Fri Jan 24 14:10:27 JST 2014
YUKI Hiroshi 2014-01-24 14:10:27 +0900 (Fri, 24 Jan 2014) New Revision: ac8381836163c80b23d284d67dc5b773d11461fd https://github.com/droonga/fluent-plugin-droonga/commit/ac8381836163c80b23d284d67dc5b773d11461fd Message: Add method to get status code Modified files: lib/droonga/output_message.rb Modified: lib/droonga/output_message.rb (+5 -1) =================================================================== --- lib/droonga/output_message.rb 2014-01-24 13:57:24 +0900 (12dd516) +++ lib/droonga/output_message.rb 2014-01-24 14:10:27 +0900 (a8313ef) @@ -1,4 +1,4 @@ -# Copyright (C) 2013 Droonga Project +# Copyright (C) 2013-2014 Droonga Project # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -26,6 +26,10 @@ module Droonga @raw_message end + def status_code + @raw_message["statusCode"] + end + def body @raw_message["body"] end -------------- next part -------------- HTML����������������������������...Download