Module: IdCode

Extended by:
ActiveSupport::Concern
Included in:
Astrochimp::Signup
Defined in:
app/models/id_code.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#id_codeObject



31
32
33
# File 'app/models/id_code.rb', line 31

def id_code
  self.class.id_to_code(id)
end