Class: Files::ShareGroupMember
- Inherits:
-
Object
- Object
- Files::ShareGroupMember
- Defined in:
- lib/files.com/models/share_group_member.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#company ⇒ Object
string - Company of the share group member.
-
#email ⇒ Object
string - Email of the share group member.
-
#initialize(attributes = {}, options = {}) ⇒ ShareGroupMember
constructor
A new instance of ShareGroupMember.
-
#name ⇒ Object
string - Name of the share group member.
Constructor Details
#initialize(attributes = {}, options = {}) ⇒ ShareGroupMember
Returns a new instance of ShareGroupMember.
7 8 9 10 |
# File 'lib/files.com/models/share_group_member.rb', line 7 def initialize(attributes = {}, = {}) @attributes = attributes || {} @options = || {} end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/files.com/models/share_group_member.rb', line 5 def attributes @attributes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/files.com/models/share_group_member.rb', line 5 def @options end |
Instance Method Details
#company ⇒ Object
string - Company of the share group member
18 19 20 |
# File 'lib/files.com/models/share_group_member.rb', line 18 def company @attributes[:company] end |
#email ⇒ Object
string - Email of the share group member
23 24 25 |
# File 'lib/files.com/models/share_group_member.rb', line 23 def email @attributes[:email] end |
#name ⇒ Object
string - Name of the share group member
13 14 15 |
# File 'lib/files.com/models/share_group_member.rb', line 13 def name @attributes[:name] end |