Class: Skyfall::Firehose::AccountMessage

Inherits:
Message
  • Object
show all
Defined in:
lib/skyfall/firehose/account_message.rb

Instance Attribute Summary

Attributes inherited from Message

#data_object, #did, #seq, #type, #type_object

Instance Method Summary collapse

Methods inherited from Message

#initialize, #inspect, #inspectable_variables, new, #operations, #time

Constructor Details

This class inherits a constructor from Skyfall::Firehose::Message

Instance Method Details

#active?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/skyfall/firehose/account_message.rb', line 5

def active?
  @data_object['active']
end

#statusObject



9
10
11
# File 'lib/skyfall/firehose/account_message.rb', line 9

def status
  @data_object['status']&.to_sym
end