Class: IdnSdkRuby::Com::Nbos::Capi::Modules::Identity::V0::SocialAccountApiModel

Inherits:
Object
  • Object
show all
Defined in:
lib/idn_sdk_ruby/com/nbos/capi/modules/identity/v0/social_account_api_model.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(social_params = nil) ⇒ SocialAccountApiModel

Returns a new instance of SocialAccountApiModel.



12
13
14
15
16
17
18
19
20
# File 'lib/idn_sdk_ruby/com/nbos/capi/modules/identity/v0/social_account_api_model.rb', line 12

def initialize(social_params = nil)
  if social_params != nil
    @id = social_params["id"]
    @email = social_params["email"]
    @socialType = social_params["socialType"]
    @imageUrl = social_params["imageUrl"]
    @accessToken = social_params["accessToken"]
  end
end

Instance Attribute Details

#accessTokenObject

Returns the value of attribute accessToken.



10
11
12
# File 'lib/idn_sdk_ruby/com/nbos/capi/modules/identity/v0/social_account_api_model.rb', line 10

def accessToken
  @accessToken
end

#emailObject

Returns the value of attribute email.



10
11
12
# File 'lib/idn_sdk_ruby/com/nbos/capi/modules/identity/v0/social_account_api_model.rb', line 10

def email
  @email
end

#idObject

Returns the value of attribute id.



10
11
12
# File 'lib/idn_sdk_ruby/com/nbos/capi/modules/identity/v0/social_account_api_model.rb', line 10

def id
  @id
end

#imageUrlObject

Returns the value of attribute imageUrl.



10
11
12
# File 'lib/idn_sdk_ruby/com/nbos/capi/modules/identity/v0/social_account_api_model.rb', line 10

def imageUrl
  @imageUrl
end

#socialTypeObject

Returns the value of attribute socialType.



10
11
12
# File 'lib/idn_sdk_ruby/com/nbos/capi/modules/identity/v0/social_account_api_model.rb', line 10

def socialType
  @socialType
end