Class: Fog::Compute::Packet::Invitations
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::Packet::Invitations
- Defined in:
- lib/fog/compute/packet/models/invitations.rb
Overview
Invitations Collection
Instance Method Summary collapse
Instance Method Details
#all(project_id, params = {}) ⇒ Object
10 11 12 13 |
# 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) ⇒ Object
15 16 17 18 |
# File 'lib/fog/compute/packet/models/invitations.rb', line 15 def get(id) response = service.get_notification(id) new(response.body) end |