Class: Ansible::Ruby::Modules::Heroku_collaborator
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Heroku_collaborator
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/heroku/heroku_collaborator.rb
Overview
Manages collaborators for Heroku apps. If set to C(present) and heroku user is already collaborator, then do nothing. If set to C(present) and heroku user is not collaborator, then add user to app. If set to C(absent) and heroku user is collaborator, then delete user from app.
Instance Method Summary collapse
-
#api_key ⇒ String?
Heroku API key.
-
#apps ⇒ Array<String>, String
List of Heroku App names.
-
#state ⇒ :present, ...
Create or remove the heroku collaborator.
-
#suppress_invitation ⇒ :yes, ...
Suppress email invitation when creating collaborator.
-
#user ⇒ String
User ID or e-mail.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#api_key ⇒ String?
Returns Heroku API key.
15 |
# File 'lib/ansible/ruby/modules/generated/cloud/heroku/heroku_collaborator.rb', line 15 attribute :api_key |
#apps ⇒ Array<String>, String
Returns List of Heroku App names.
19 |
# File 'lib/ansible/ruby/modules/generated/cloud/heroku/heroku_collaborator.rb', line 19 attribute :apps |
#state ⇒ :present, ...
Returns Create or remove the heroku collaborator.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/heroku/heroku_collaborator.rb', line 31 attribute :state |
#suppress_invitation ⇒ :yes, ...
Returns Suppress email invitation when creating collaborator.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/heroku/heroku_collaborator.rb', line 23 attribute :suppress_invitation |
#user ⇒ String
Returns User ID or e-mail.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/heroku/heroku_collaborator.rb', line 27 attribute :user |