I would like to create a membership record when a user accesses an app
whether an incident of concierge is?
My solution was to use a rail supervisor:
Gemfile App / Models / Concierge / access_token_observer.rb:
Mani 'Railway supervisors'
/ Blockquote>
class gatekeeper :: accesstoken observer & lt; ActiveRecord :: Observer DF after_create (access_token) with # content: # access_token.application_id # access_token.resource_owner_id End End
No comments:
Post a Comment