Class: ProxES::Request::Stats
Constant Summary
ID_ENDPOINTS, WRITE_METHODS
Instance Attribute Summary collapse
Instance Method Summary
collapse
#detail, #duration, from_env, #html?, #initialize, path_endpoint, #user, #user_id
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
30
31
32
|
# File 'lib/proxes/request/stats.rb', line 30
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
|
#stats ⇒ Object
26
27
28
|
# File 'lib/proxes/request/stats.rb', line 26
def stats
@stats ||= check_part(path_parts[2])
end
|