Module: UserAssociations

Defined in:
app/models/user_associations.rb

Class Method Summary collapse

Class Method Details

.when_belongs_to(klass, options) ⇒ Object



3
4
5
# File 'app/models/user_associations.rb', line 3

def self.when_belongs_to(klass, options)
  klass.prefix = "#{RestApi::Base.prefix}user/"
end