Class: Files::ShareGroupMember

Inherits:
Object
  • Object
show all
Defined in:
lib/files.com/models/share_group_member.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = {}, options = {})
  @attributes = attributes || {}
  @options = options || {}
end

Instance Attribute Details

#attributesObject (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

#optionsObject (readonly)

Returns the value of attribute options.



5
6
7
# File 'lib/files.com/models/share_group_member.rb', line 5

def options
  @options
end

Instance Method Details

#companyObject

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

#emailObject

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

#nameObject

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