Class: IMS::LTI::Models::MembershipService::LISPerson

Inherits:
Person
  • Object
show all
Defined in:
lib/ims/lti/models/membership_service/lis_person.rb

Instance Attribute Summary collapse

Attributes inherited from Person

#family_name, #given_name, #img, #name

Attributes inherited from Agent

#id

Instance Method Summary collapse

Methods included from Serializable

#as_json, #to_json

Constructor Details

#initialize(opts = {}) ⇒ LISPerson

Returns a new instance of LISPerson.



5
6
7
8
9
10
11
12
# File 'lib/ims/lti/models/membership_service/lis_person.rb', line 5

def initialize(opts={})
  super(opts)
  @email = opts[:email]
  @result_sourced_id = opts[:result_sourced_id]
  @sourced_id = opts[:sourced_id]
  @user_id = opts[:user_id]
  @sis_id = opts[:sis_id]
end

Instance Attribute Details

#emailObject (readonly)

Returns the value of attribute email.



3
4
5
# File 'lib/ims/lti/models/membership_service/lis_person.rb', line 3

def email
  @email
end

#result_sourced_idObject (readonly)

Returns the value of attribute result_sourced_id.



3
4
5
# File 'lib/ims/lti/models/membership_service/lis_person.rb', line 3

def result_sourced_id
  @result_sourced_id
end

#sis_idObject (readonly)

Returns the value of attribute sis_id.



3
4
5
# File 'lib/ims/lti/models/membership_service/lis_person.rb', line 3

def sis_id
  @sis_id
end

#sourced_idObject (readonly)

Returns the value of attribute sourced_id.



3
4
5
# File 'lib/ims/lti/models/membership_service/lis_person.rb', line 3

def sourced_id
  @sourced_id
end

#user_idObject (readonly)

Returns the value of attribute user_id.



3
4
5
# File 'lib/ims/lti/models/membership_service/lis_person.rb', line 3

def user_id
  @user_id
end