class Fog::Volume::SakuraCloud::Plans

Public Instance Methods

all() click to toggle source
# File lib/fog/sakuracloud/models/volume/plans.rb, line 10
def all
  load service.list_plans.body['DiskPlans']
end
get(id) click to toggle source
# File lib/fog/sakuracloud/models/volume/plans.rb, line 14
def get(id)
  all.find { |f| f.id == id }
rescue Fog::Errors::NotFound
  nil
end