Class: ProxES::Request::Stats
Instance Attribute Summary collapse
Instance Method Summary
collapse
from_env, #initialize
Instance Attribute Details
#index ⇒ Object
Returns the value of attribute index.
9
10
11
|
# File 'lib/proxes/request/stats.rb', line 9
def index
@index
end
|
Instance Method Details
#endpoint ⇒ Object
18
19
20
|
# File 'lib/proxes/request/stats.rb', line 18
def endpoint
'_stats'
end
|
#indices? ⇒ Boolean
26
27
28
|
# File 'lib/proxes/request/stats.rb', line 26
def indices?
true
end
|
#parse ⇒ Object
22
23
24
|
# File 'lib/proxes/request/stats.rb', line 22
def parse
@index ||= check_part(path_parts[0])
end
|