Method: Fog::Image::OpenStack::V2::Images#method_missing

Defined in:
lib/fog/image/openstack/v2/models/images.rb

#method_missing(method_sym, *arguments, &block) ⇒ Object



42
43
44
45
46
47
48
# File 'lib/fog/image/openstack/v2/models/images.rb', line 42

def method_missing(method_sym, *arguments, &block)
  if method_sym.to_s =~ /^find_by_(.*)$/
    load(service.list_images($1.to_sym => arguments.first).body['images'])
  else
    super
  end
end