class Fog::Compute::Packet::Invitations

Invitations Collection

Public Instance Methods

all(project_id, params = {}) click to toggle source
# File lib/fog/compute/packet/models/invitations.rb, line 10
def all(project_id, params = {})
  response = service.list_invitations(project_id, params)
  load(response.body["invitations"])
end
get(id) click to toggle source
# File lib/fog/compute/packet/models/invitations.rb, line 15
def get(id)
  response = service.get_notification(id)
  new(response.body)
end