Module: RockOAuth::Model::ClientOwner

Defined in:
lib/rockoauth/model/client_owner.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



5
6
7
8
9
# File 'lib/rockoauth/model/client_owner.rb', line 5

def self.included(klass)
  klass.has_many :oauth2_clients,
  :class_name => 'RockOAuth::Model::Client',
  :as => :oauth2_client_owner
end