class Fog::OpenStack::Planning::Plans
Public Instance Methods
all(options = {})
click to toggle source
# File lib/fog/openstack/planning/models/plans.rb, line 10 def all(options = {}) load_response(service.list_plans(options)) end
find_by_uuid(plan_uuid)
click to toggle source
# File lib/fog/openstack/planning/models/plans.rb, line 14 def find_by_uuid(plan_uuid) new(service.get_plan(plan_uuid).body) end
Also aliased as: get
method_missing(method_sym, *arguments, &block)
click to toggle source
Calls superclass method
# File lib/fog/openstack/planning/models/plans.rb, line 19 def method_missing(method_sym, *arguments, &block) if method_sym.to_s =~ /^find_by_(.*)$/ all.find do |plan| plan.send($1) == arguments.first end else super end end