Class: Core::Decorators::Base
- Inherits:
-
Draper::Decorator
- Object
- Draper::Decorator
- Core::Decorators::Base
- Defined in:
- lib/core/decorators/base.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#id ⇒ Object
6 7 8 |
# File 'lib/core/decorators/base.rb', line 6 def id object.id.to_s end |
#to_json ⇒ Object
10 11 12 |
# File 'lib/core/decorators/base.rb', line 10 def to_json to_h.to_json end |