Description:
<%= @app_info.description %>
Config URL:
<%= @app_info.configURL %>
Root Endpoint:
<%= @app_info.rootEndpoint %>
Author:
<%= @app_info.author %>
<% if @app_info.integrationEvent.count > 0 %>
Events
<% @app_info.integrationEvent.each do |event| %>
<%= event.name %>
Description:
<%= event.description %>
jsonKey:
<%= event.jsonKey %>
Fields:
<% event.fields.each do |field| %>
Field Name:
<%= field.name %>
Json Key:
<%= field.jsonKey %>
<% end %>
<% end %>
<% else %>
No events are currently available for this app.
<% end %>
<% if @app_info.integrationConsequence.count > 0 %>
Consequences
<% @app_info.integrationConsequence.each do |consequence| %>
<%= consequence.name %>
ID:
<%= consequence.id %>
Json Key:
<%= consequence.jsonKey %>
Description:
<%= consequence.description %>
Webhook:
<%= consequence.webhook %>
<% end %>
<% else %>
No consequences are available for this app.
<% end %>