Sha256: aa4bc6c5ff54a98917e49d0282896fb41a2033bca9df10130b7588de7d4d9491
Contents?: true
Size: 547 Bytes
Versions: 12
Compression:
Stored size: 547 Bytes
Contents
module ActionKitRest module Actions class EventCreateAction < Action def base_path 'eventcreateaction' end 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(/\/rest\/v1\/event\/(\d*)\//)[1] ak_event_create_action.obj['user_id'] = ak_event_create_action.user.match(/\/rest\/v1\/user\/(\d*)\//)[1] ak_event_create_action end end end end
Version data entries
12 entries across 12 versions & 1 rubygems