Sha256: 1f6c281c79f74e048b91abf665df4ca03ec49d8fbb26de1b131e57dc73f04f8a
Contents?: true
Size: 597 Bytes
Versions: 6
Compression:
Stored size: 597 Bytes
Contents
# frozen_string_literal: true module ActionKitRest module Actions class EventSignupAction < Action def base_path 'eventsignupaction' end def get(id) ak_event_signup_action = super # Aggregate fields parsed from referrenced entities' URI ak_event_signup_action.obj['event_signup_id'] = ak_event_signup_action.signup.match(%r{/rest/v1/eventsignup/(\d*)/})[1] ak_event_signup_action.obj['user_id'] = ak_event_signup_action.user.match(%r{/rest/v1/user/(\d*)/})[1] ak_event_signup_action end end end end
Version data entries
6 entries across 6 versions & 1 rubygems