Method: Auth0::Api::V2::Actions#action
- Defined in:
- lib/auth0/api/v2/actions.rb
#action(action_id) ⇒ json Also known as: get_action
Get an action by id.
57 58 59 60 61 |
# File 'lib/auth0/api/v2/actions.rb', line 57 def action(action_id) raise Auth0::MissingActionId, 'Must supply a valid action_id' if action_id.to_s.empty? path = "#{actions_path}/actions/#{action_id}" get(path) end |