Class: Ably::Models::Stats::MessageTypes

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

Overview

MessageTypes contains a breakdown of summary stats data for different (message vs presence) message types

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

#allMessageCount (readonly)



114
115
116
# File 'lib/ably/models/stats_types.rb', line 114

class MessageTypes < StatsStruct
  coerce_attributes :messages, :presence, :all, into: MessageCount
end

#messagesMessageCount (readonly)



114
115
116
# File 'lib/ably/models/stats_types.rb', line 114

class MessageTypes < StatsStruct
  coerce_attributes :messages, :presence, :all, into: MessageCount
end

#presenceMessageCount (readonly)



114
115
116
# File 'lib/ably/models/stats_types.rb', line 114

class MessageTypes < StatsStruct
  coerce_attributes :messages, :presence, :all, into: MessageCount
end