Commit 74dfc492 authored by John E. Vincent's avatar John E. Vincent

missed that

parent 990a48ac
...@@ -24,16 +24,6 @@ class Host < Ohm::Model ...@@ -24,16 +24,6 @@ class Host < Ohm::Model
end end
end end
class Hosts
def self.all(options = {})
if options.empty?
Host.all.sort
else
Host.find(options).sort
end
end
end
class Service < Ohm::Model class Service < Ohm::Model
include Ohm::Typecast include Ohm::Typecast
include Ohm::Timestamping include Ohm::Timestamping
...@@ -56,16 +46,6 @@ class Service < Ohm::Model ...@@ -56,16 +46,6 @@ class Service < Ohm::Model
end end
end end
class Services
def self.all(options = {})
if options.empty?
Service.all.sort
else
Service.find(options).sort
end
end
end
class Configuration < Ohm::Model class Configuration < Ohm::Model
include Ohm::Typecast include Ohm::Typecast
include Ohm::Timestamping include Ohm::Timestamping
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment