Class: Naminori::Service::Configure
- Inherits:
-
Object
- Object
- Naminori::Service::Configure
- Defined in:
- lib/naminori/service/configure.rb
Instance Attribute Summary collapse
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#port ⇒ Object
readonly
Returns the value of attribute port.
-
#protocols ⇒ Object
readonly
Returns the value of attribute protocols.
-
#query ⇒ Object
readonly
Returns the value of attribute query.
-
#retry ⇒ Object
readonly
Returns the value of attribute retry.
-
#role ⇒ Object
readonly
Returns the value of attribute role.
-
#timeout ⇒ Object
readonly
Returns the value of attribute timeout.
-
#vip ⇒ Object
readonly
Returns the value of attribute vip.
Instance Method Summary collapse
-
#initialize(options) ⇒ Configure
constructor
A new instance of Configure.
Constructor Details
#initialize(options) ⇒ Configure
Returns a new instance of Configure.
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/naminori/service/configure.rb', line 6 def initialize() @role = [:role] @port = [:port] @protocols = [:protocols] @vip = [:vip] @method = [:method] @query = [:query] @retry = [:retry] @timeout = [:timeout] end |
Instance Attribute Details
#method ⇒ Object (readonly)
Returns the value of attribute method.
5 6 7 |
# File 'lib/naminori/service/configure.rb', line 5 def method @method end |
#port ⇒ Object (readonly)
Returns the value of attribute port.
5 6 7 |
# File 'lib/naminori/service/configure.rb', line 5 def port @port end |
#protocols ⇒ Object (readonly)
Returns the value of attribute protocols.
5 6 7 |
# File 'lib/naminori/service/configure.rb', line 5 def protocols @protocols end |
#query ⇒ Object (readonly)
Returns the value of attribute query.
5 6 7 |
# File 'lib/naminori/service/configure.rb', line 5 def query @query end |
#retry ⇒ Object (readonly)
Returns the value of attribute retry.
5 6 7 |
# File 'lib/naminori/service/configure.rb', line 5 def retry @retry end |
#role ⇒ Object (readonly)
Returns the value of attribute role.
5 6 7 |
# File 'lib/naminori/service/configure.rb', line 5 def role @role end |
#timeout ⇒ Object (readonly)
Returns the value of attribute timeout.
5 6 7 |
# File 'lib/naminori/service/configure.rb', line 5 def timeout @timeout end |
#vip ⇒ Object (readonly)
Returns the value of attribute vip.
5 6 7 |
# File 'lib/naminori/service/configure.rb', line 5 def vip @vip end |