class Fog::Compute::Packet::Organizations
Public Instance Methods
all(params = {})
click to toggle source
# File lib/fog/compute/packet/models/organizations.rb, line 10 def all(params = {}) response = service.list_organizations(params) load(response.body["organizations"]) end
get(id)
click to toggle source
# File lib/fog/compute/packet/models/organizations.rb, line 15 def get(id) response = service.get_organization(id) new(response.body) end