Class: Line::Bot::Event::AccountLink

Inherits:
Base
  • Object
show all
Defined in:
lib/line/bot/event/account_link.rb

Overview

Event object for when a user has linked his/her LINE account with a provider’s service account.

developers.line.biz/en/reference/messaging-api/#account-link-event

Instance Method Summary collapse

Methods inherited from Base

#[], #initialize, #to_hash

Constructor Details

This class inherits a constructor from Line::Bot::Event::Base

Instance Method Details

#nonceString

Returns:

  • (String)


28
29
30
# File 'lib/line/bot/event/account_link.rb', line 28

def nonce
  @src['link']['nonce']
end

#resultString

Returns:

  • (String)


23
24
25
# File 'lib/line/bot/event/account_link.rb', line 23

def result
  @src['link']['result']
end