Class: LiffController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- LiffController
- Defined in:
- app/controllers/liff_controller.rb
Instance Method Summary collapse
Instance Method Details
#entry ⇒ Object
6 7 8 |
# File 'app/controllers/liff_controller.rb', line 6 def entry @liff = LiffService.new(@liff_param) end |
#route ⇒ Object
10 11 12 13 14 15 |
# File 'app/controllers/liff_controller.rb', line 10 def route path, query = params["path"].split("?") query = Rack::Utils.parse_nested_query(query) http_method = query["_method"]&.upcase || "GET" @body = reserve_route(path, http_method: http_method, request_params: source_info.merge(query), format: :liff) end |