Kouhei Sutou
null+****@clear*****
Wed Mar 16 17:39:36 JST 2016
Kouhei Sutou 2016-03-16 17:39:36 +0900 (Wed, 16 Mar 2016) New Revision: 6f6eeb049a43c69ca26431c2c12d22bff87d0877 https://github.com/groonga/groonga-command/commit/6f6eeb049a43c69ca26431c2c12d22bff87d0877 Message: Add Command::Base#request_id Modified files: lib/groonga/command/base.rb Modified: lib/groonga/command/base.rb (+8 -3) =================================================================== --- lib/groonga/command/base.rb 2016-03-15 23:56:35 +0900 (6e6673f) +++ lib/groonga/command/base.rb 2016-03-16 17:39:36 +0900 (250335a) @@ -1,6 +1,4 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2012-2014 Kouhei Sutou <kou �� clear-code.com> +# Copyright (C) 2012-2016 Kouhei Sutou <kou �� clear-code.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -80,6 +78,13 @@ module Groonga (self[:output_type] || :json).to_sym end + # @return [String, nil] `request_id` parameter value. + # + # @since 1.1.8 + def request_id + self[:request_id] + end + def to_uri_format Format::URI.new(@path_prefix, @name, normalized_arguments).path end -------------- next part -------------- HTML����������������������������...下载