Module: HaveCode::ARCode::InstanceMethods
- Defined in:
- lib/have-code/ar_code.rb
Instance Method Summary collapse
Instance Method Details
#code ⇒ Object
34 35 36 |
# File 'lib/have-code/ar_code.rb', line 34 def code have_code_cipher.encipher(id).to_s(36) end |
#have_code_cipher ⇒ Object
30 31 32 |
# File 'lib/have-code/ar_code.rb', line 30 def have_code_cipher self.class.read_inheritable_attribute :have_code_cipher end |