Class: Coyodlee::UserLoginMessage

Inherits:
JsonMessage show all
Defined in:
lib/coyodlee/messages.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = '{}') ⇒ UserLoginMessage

Returns a new instance of UserLoginMessage.


11
12
13
# File 'lib/coyodlee/messages.rb', line 11

def initialize(message = '{}')
  super(message)
end

Instance Method Details

#session_tokenObject


15
16
17
# File 'lib/coyodlee/messages.rb', line 15

def session_token
  @json.dig('user', 'session', 'userSession')
end