Sha256: 199c170975cf15acaf2bf0dc36f2a25126a6538631c89fdd7a7866daef5751a7

Contents?: true

Size: 232 Bytes

Versions: 3

Compression:

Stored size: 232 Bytes

Contents

module Oa2c
  module User
    extend ActiveSupport::Concern
    included do
      has_many :access_tokens, class_name: "Oa2c::AccessToken"
      has_many :authorization_codes, class_name: "Oa2c::AuthorizationCode"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
oa2c-0.1.2 app/models/oa2c/user.rb
oa2c-0.1.1 app/models/oa2c/user.rb
oa2c-0.1.0 app/models/oa2c/user.rb