Class: Ably::Models::Stats::MessageCount

Inherits:
StatsStruct show all
Defined in:
lib/ably/models/stats_types.rb

Overview

MessageCount contains aggregate counts for messages and data transferred

Instance Attribute Summary collapse

Attributes inherited from StatsStruct

#hash

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

#countInteger (readonly)



66
67
68
# File 'lib/ably/models/stats_types.rb', line 66

class MessageCount < StatsStruct
  coerce_attributes :count, :data, into: IntegerDefaultZero
end

#dataInteger (readonly)



66
67
68
# File 'lib/ably/models/stats_types.rb', line 66

class MessageCount < StatsStruct
  coerce_attributes :count, :data, into: IntegerDefaultZero
end