Class: Tessera::Otrs::Base
- Inherits:
-
Object
- Object
- Tessera::Otrs::Base
- Defined in:
- lib/tessera/otrs/base.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
4 5 6 7 8 |
# File 'lib/tessera/otrs/base.rb', line 4 def to_hash Hash[instance_variables.map do |v| [v.to_s[1..-1].to_sym, instance_variable_get(v)] end] end |