class ActionKitRest::Actions::EventCreateAction
Public Instance Methods
base_path()
click to toggle source
# File lib/action_kit_rest/actions/event_create_action.rb, line 6 def base_path 'eventcreateaction' end
get(id)
click to toggle source
Calls superclass method
# File lib/action_kit_rest/actions/event_create_action.rb, line 10 def get(id) ak_event_create_action = super # Aggregate fields parsed from referrenced entities' URI ak_event_create_action.obj['event_id'] = ak_event_create_action.event.match(%r{/rest/v1/event/(\d*)/})[1] ak_event_create_action.obj['user_id'] = ak_event_create_action.user.match(%r{/rest/v1/user/(\d*)/})[1] ak_event_create_action end