Module: Curtains::DecorateResources
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/curtains/decorate_resources.rb
Instance Method Summary collapse
- #build_resource_with_decoration ⇒ Object
- #collection_with_decoration ⇒ Object
- #resource_with_decoration ⇒ Object
Instance Method Details
#build_resource_with_decoration ⇒ Object
17 18 19 |
# File 'lib/curtains/decorate_resources.rb', line 17 def build_resource_with_decoration decorate(build_resource_without_decoration) end |
#collection_with_decoration ⇒ Object
22 23 24 |
# File 'lib/curtains/decorate_resources.rb', line 22 def collection_with_decoration decorate(collection_without_decoration) end |
#resource_with_decoration ⇒ Object
12 13 14 |
# File 'lib/curtains/decorate_resources.rb', line 12 def resource_with_decoration decorate(resource_without_decoration) end |