Class: Cufinder::PersonSocial

Inherits:
Object
  • Object
show all
Defined in:
lib/cufinder_ruby/types.rb

Overview

Person social media information

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = {}) ⇒ PersonSocial

Returns a new instance of PersonSocial.



103
104
105
106
107
108
109
110
# File 'lib/cufinder_ruby/types.rb', line 103

def initialize(data = {})
  @linkedin_username = data["linkedin_username"]
  @linkedin_connections = data["linkedin_connections"]
  @linkedin = data["linkedin"]
  @twitter = data["twitter"]
  @facebook = data["facebook"]
  @github = data["github"]
end

Instance Attribute Details

#facebookObject

Returns the value of attribute facebook.



101
102
103
# File 'lib/cufinder_ruby/types.rb', line 101

def facebook
  @facebook
end

#githubObject

Returns the value of attribute github.



101
102
103
# File 'lib/cufinder_ruby/types.rb', line 101

def github
  @github
end

#linkedinObject

Returns the value of attribute linkedin.



101
102
103
# File 'lib/cufinder_ruby/types.rb', line 101

def linkedin
  @linkedin
end

#linkedin_connectionsObject

Returns the value of attribute linkedin_connections.



101
102
103
# File 'lib/cufinder_ruby/types.rb', line 101

def linkedin_connections
  @linkedin_connections
end

#linkedin_usernameObject

Returns the value of attribute linkedin_username.



101
102
103
# File 'lib/cufinder_ruby/types.rb', line 101

def linkedin_username
  @linkedin_username
end

#twitterObject

Returns the value of attribute twitter.



101
102
103
# File 'lib/cufinder_ruby/types.rb', line 101

def twitter
  @twitter
end