Skip to content

Commit 269a5b2

Browse files
committed
Print callback response
1 parent edeaae7 commit 269a5b2

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
class CallbacksController < ApplicationController
2+
def index
3+
@response = response
4+
end
25
end

app/views/callbacks/index.html.erb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
Hello API event received
2+
3+
<div class="response-data">
4+
<%= @response %>
5+
</div>

0 commit comments

Comments
 (0)