Class: Ixtlan::Audit::Audit
- Inherits:
-
Object
- Object
- Ixtlan::Audit::Audit
- Includes:
- DataMapper::Resource
- Defined in:
- lib/ixtlan/audit/resource.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.storage_name(arg = :default) ⇒ Object
27 28 29 |
# File 'lib/ixtlan/audit/resource.rb', line 27 def self.storage_name( arg = :default ) 'ixtlan_audits' end |
Instance Method Details
#message=(msg) ⇒ Object
49 50 51 52 |
# File 'lib/ixtlan/audit/resource.rb', line 49 def ( msg ) #truncate if too long super msg[0..191] end |
#to_s ⇒ Object
54 55 56 |
# File 'lib/ixtlan/audit/resource.rb', line 54 def to_s "Audit( #{id} )" end |