module Euca::Filterable::ClassMethods

Public Instance Methods

find_by(args) click to toggle source
# File lib/euca/filterable.rb, line 11
def find_by args
  where(args).first
end
where(args) click to toggle source
# File lib/euca/filterable.rb, line 6
def where args
  args = args.map{|key,value| "--filter #{key}=#{value}" }
  describe *args
end