Module: Songkick::OAuth2::Model::ClientOwner

Defined in:
lib/songkick/oauth2/model/client_owner.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object


6
7
8
9
10
# File 'lib/songkick/oauth2/model/client_owner.rb', line 6

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