Class: Scalingo::Endpoint::Collaborators
- Inherits:
-
Collection
- Object
- Collection
- Scalingo::Endpoint::Collaborators
- Defined in:
- lib/scalingo/endpoint/collaborators.rb
Instance Attribute Summary
Attributes included from Base
Instance Method Summary collapse
Methods inherited from Collection
#all, #collection_name, #each, #find, #find_by, #resource_class
Methods included from Scalingo::Endpoint
Methods included from ClassMethods
Methods included from Base
Instance Method Details
#create(email) ⇒ Object
4 5 6 |
# File 'lib/scalingo/endpoint/collaborators.rb', line 4 def create(email) post(nil, collaborator: { email: email }) end |