Class: Beanie::CompanyMember

Inherits:
Api
  • Object
show all
Defined in:
lib/beanie/company_member.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Api

all, build_url, #construct_path, delete, #extract, #field_name, find, get, #object_name, #populate, post, put, #save!, set_headers

Constructor Details

#initializeCompanyMember

Initialize instance variables



36
37
38
39
40
41
# File 'lib/beanie/company_member.rb', line 36

def initialize
  @id = nil
  @member_id = nil
  @role = nil
  @member_email = nil
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



32
33
34
# File 'lib/beanie/company_member.rb', line 32

def id
  @id
end

#member_emailObject

Returns the value of attribute member_email.



32
33
34
# File 'lib/beanie/company_member.rb', line 32

def member_email
  @member_email
end

#member_idObject

Returns the value of attribute member_id.



32
33
34
# File 'lib/beanie/company_member.rb', line 32

def member_id
  @member_id
end

#roleObject

Returns the value of attribute role.



32
33
34
# File 'lib/beanie/company_member.rb', line 32

def role
  @role
end