Method: Auth0::Api::V2::Actions#trigger_bindings
- Defined in:
- lib/auth0/api/v2/actions.rb
#trigger_bindings(trigger_id, page: nil, per_page: nil) ⇒ json Also known as: get_trigger_bindings
Retrieve the actions that are bound to a trigger.
127 128 129 130 131 132 133 134 135 136 |
# File 'lib/auth0/api/v2/actions.rb', line 127 def trigger_bindings(trigger_id, page: nil, per_page: nil) raise Auth0::MissingTriggerId, 'Must supply a valid trigger_id' if trigger_id.to_s.empty? path = "#{actions_path}/triggers/#{trigger_id}/bindings" request_params = { per_page: per_page, page: page } get(path, request_params) end |