obsolete.ChilliProject/test/exemplars/auth_source_exemplar.rb

10 lines
178 B
Ruby
Raw Normal View History

class AuthSource < ActiveRecord::Base
generator_for :name, :method => :next_name
def self.next_name
@last_name ||= 'Auth0'
@last_name.succ!
@last_name
end
end