Class: GroongaDelta::ApplyConfig::Groonga
- Inherits:
-
Object
- Object
- GroongaDelta::ApplyConfig::Groonga
- Defined in:
- lib/groonga-delta/apply-config.rb
Instance Method Summary collapse
-
#initialize(dir, data) ⇒ Groonga
constructor
A new instance of Groonga.
- #read_timeout ⇒ Object
- #url ⇒ Object
Constructor Details
#initialize(dir, data) ⇒ Groonga
Returns a new instance of Groonga.
51 52 53 54 |
# File 'lib/groonga-delta/apply-config.rb', line 51 def initialize(dir, data) @dir = dir @data = data end |
Instance Method Details
#read_timeout ⇒ Object
60 61 62 |
# File 'lib/groonga-delta/apply-config.rb', line 60 def read_timeout @data["read_timeout"] || ::Groonga::Client::Default::READ_TIMEOUT end |
#url ⇒ Object
56 57 58 |
# File 'lib/groonga-delta/apply-config.rb', line 56 def url @data["url"] || "http://127.0.0.1:10041" end |