Class: BrickFTP::Types::GroupMembership
- Inherits:
-
Struct
- Object
- Struct
- BrickFTP::Types::GroupMembership
- Includes:
- IgnoreUndefinedAttributes
- Defined in:
- lib/brick_ftp/types/group_membership.rb
Overview
membership object
ATTRIBUTE | TYPE | DESCRIPTION |
---|---|---|
id | integer | Globally unique identifier for the membership. |
group_id | integer | ID of the group the membership is associated with. |
user_id | integer | ID of the user the membership is associated with. |
admin | boolean | Indicates whether the user is an administrator of the group. |
Instance Attribute Summary collapse
-
#admin ⇒ Object
Returns the value of attribute admin.
-
#group_id ⇒ Object
Returns the value of attribute group_id.
-
#id ⇒ Object
Returns the value of attribute id.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Method Summary
Methods included from IgnoreUndefinedAttributes
Instance Attribute Details
#admin ⇒ Object
Returns the value of attribute admin
18 19 20 |
# File 'lib/brick_ftp/types/group_membership.rb', line 18 def admin @admin end |
#group_id ⇒ Object
Returns the value of attribute group_id
18 19 20 |
# File 'lib/brick_ftp/types/group_membership.rb', line 18 def group_id @group_id end |
#id ⇒ Object
Returns the value of attribute id
18 19 20 |
# File 'lib/brick_ftp/types/group_membership.rb', line 18 def id @id end |
#user_id ⇒ Object
Returns the value of attribute user_id
18 19 20 |
# File 'lib/brick_ftp/types/group_membership.rb', line 18 def user_id @user_id end |