Class: Ably::Models::Stats::RequestCount
- Inherits:
-
StatsStruct
- Object
- StatsStruct
- Ably::Models::Stats::RequestCount
- Defined in:
- lib/submodules/ably-ruby/lib/ably/models/stats_types.rb
Overview
RequestCount contains aggregate counts for requests made
Instance Attribute Summary collapse
-
#failed ⇒ Integer
readonly
Requests failed.
-
#refused ⇒ Integer
readonly
Requests refused typically as a result of permissions or a limit being exceeded.
-
#succeeded ⇒ Integer
readonly
Requests succeeded.
Attributes inherited from StatsStruct
Method Summary
Methods inherited from StatsStruct
coerce_attributes, #initialize, type_klass
Constructor Details
This class inherits a constructor from Ably::Models::Stats::StatsStruct
Instance Attribute Details
#failed ⇒ Integer (readonly)
Returns requests failed.
77 78 79 |
# File 'lib/submodules/ably-ruby/lib/ably/models/stats_types.rb', line 77 class RequestCount < StatsStruct coerce_attributes :succeeded, :failed, :refused, into: IntegerDefaultZero end |
#refused ⇒ Integer (readonly)
Returns requests refused typically as a result of permissions or a limit being exceeded.
77 78 79 |
# File 'lib/submodules/ably-ruby/lib/ably/models/stats_types.rb', line 77 class RequestCount < StatsStruct coerce_attributes :succeeded, :failed, :refused, into: IntegerDefaultZero end |
#succeeded ⇒ Integer (readonly)
Returns requests succeeded.
77 78 79 |
# File 'lib/submodules/ably-ruby/lib/ably/models/stats_types.rb', line 77 class RequestCount < StatsStruct coerce_attributes :succeeded, :failed, :refused, into: IntegerDefaultZero end |