class Fog::OpenStack::Planning::Plans
Public Instance Methods
Source
# File lib/fog/openstack/planning/models/plans.rb, line 10 def all(options = {}) load_response(service.list_plans(options)) end
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
Source
# 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
Calls superclass method