Class: SupportOps::GitLab::UserMemberships
- Defined in:
- lib/support_ops_gitlab/gitlab/user_memberships.rb
Overview
Defines the class UserMemberships within the module SupportOps::GitLab.
Instance Attribute Summary collapse
-
#access_level ⇒ Integer
Access level to the source.
-
#source_id ⇒ Integer
ID of the source.
-
#source_name ⇒ String
Name of the source.
-
#source_type ⇒ String
Membership type (Project or Namespace).
Method Summary
Methods inherited from Base
#activate!, #approve!, attributes, #badges, #ban!, #block!, client, #client=, #commits, configure, #contributors, #create_support_pin!, #deactivate!, define_attributes, #delete!, #diffs, #disable_2fa!, #discussions, #emails, #encoded_path, #events, #find, #find!, #gpg_keys, #hard_delete!, #impersonations, #initialize, #issues, #jobs, #latest_pipeline, #members, #memberships, #merge_requests, #move!, #notes, #paid?, #pats, #pipeline_variables, #pipelines, #preferences, #projects, readonly_attributes, #reject!, #revoke!, #rotate!, #save!, #ssh_keys, #status, #store_original_attributes, #subscribe!, #support_pin, to_hash, #tokens, #unban!, #unblock!, #unsubscribe!, #webhooks
Constructor Details
This class inherits a constructor from SupportOps::GitLab::Base
Instance Attribute Details
#access_level ⇒ Integer
Access level to the source
16 17 18 |
# File 'lib/support_ops_gitlab/gitlab/user_memberships.rb', line 16 def access_level @access_level end |
#source_id ⇒ Integer
ID of the source
16 17 18 |
# File 'lib/support_ops_gitlab/gitlab/user_memberships.rb', line 16 def source_id @source_id end |
#source_name ⇒ String
Name of the source
16 17 18 |
# File 'lib/support_ops_gitlab/gitlab/user_memberships.rb', line 16 def source_name @source_name end |
#source_type ⇒ String
Membership type (Project or Namespace)
16 17 18 |
# File 'lib/support_ops_gitlab/gitlab/user_memberships.rb', line 16 def source_type @source_type end |