Method: Skyfall::Jetstream::AccountMessage#initialize
- Defined in:
- lib/skyfall/jetstream/account_message.rb
#initialize(json) ⇒ AccountMessage
Returns a new instance of AccountMessage.
6 7 8 9 |
# File 'lib/skyfall/jetstream/account_message.rb', line 6 def initialize(json) raise DecodeError.new("Missing event details") if json['account'].nil? super end |