Class: Fnsapi::GetMessageService
- Inherits:
-
BaseService
- Object
- BaseService
- Fnsapi::GetMessageService
- Includes:
- KktConcern
- Defined in:
- lib/fnsapi/get_message_service.rb
Instance Method Summary collapse
Methods included from KktConcern
#auth_params, #refresh_credentials!, #uri
Methods inherited from BaseService
Instance Method Details
#call(message_id, user_id) ⇒ Object
7 8 9 10 |
# File 'lib/fnsapi/get_message_service.rb', line 7 def call(, user_id) result = client(auth_params(user_id)).call(:get_message, message: ()) result.body.dig(:get_message_response) end |