Module: OAuth2::Model::ClientOwner
- Defined in:
- lib/oauth2/model/client_owner.rb
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
5 6 7 8 9 |
# File 'lib/oauth2/model/client_owner.rb', line 5 def self.included(klass) klass.has_many :oauth2_clients, :class_name => 'OAuth2::Model::Client', :as => :oauth2_client_owner end |