Class: Services

Inherits:
Object
  • Object
show all
Defined in:
lib/noah/services.rb

Class Method Summary (collapse)

Class Method Details

+ (Object) all(options = {})



77
78
79
# File 'lib/noah/services.rb', line 77

def self.all(options = {})
  options.empty? ? Service.all.sort : Service.find(options).sort
end