Class: MessengerClient::LogoutButton
- Inherits:
-
Object
- Object
- MessengerClient::LogoutButton
- Defined in:
- lib/messenger_client/logout_button.rb
Instance Method Summary collapse
-
#initialize ⇒ LogoutButton
constructor
A new instance of LogoutButton.
- #to_json ⇒ Object
Constructor Details
#initialize ⇒ LogoutButton
Returns a new instance of LogoutButton.
3 4 |
# File 'lib/messenger_client/logout_button.rb', line 3 def initialize end |
Instance Method Details
#to_json ⇒ Object
6 7 8 9 10 |
# File 'lib/messenger_client/logout_button.rb', line 6 def to_json { type: "account_unlink" } end |