Class: Locomotive::Steam::SectionFinderService

Inherits:
Object
  • Object
show all
Includes:
Locomotive::Steam::Services::Concerns::Decorator
Defined in:
lib/locomotive/steam/services/section_finder_service.rb

Instance Method Summary collapse

Instance Method Details

#find(slug) ⇒ Object



9
10
11
12
13
# File 'lib/locomotive/steam/services/section_finder_service.rb', line 9

def find(slug)
  decorate do
    repository.by_slug(slug)
  end
end