Module: Curtains::DecorateResources

Extended by:
ActiveSupport::Concern
Defined in:
lib/curtains/decorate_resources.rb

Instance Method Summary collapse

Instance Method Details

#build_resource_with_decorationObject



17
18
19
# File 'lib/curtains/decorate_resources.rb', line 17

def build_resource_with_decoration
  decorate(build_resource_without_decoration)
end

#collection_with_decorationObject



22
23
24
# File 'lib/curtains/decorate_resources.rb', line 22

def collection_with_decoration
  decorate(collection_without_decoration)
end

#resource_with_decorationObject



12
13
14
# File 'lib/curtains/decorate_resources.rb', line 12

def resource_with_decoration
  decorate(resource_without_decoration)
end