Class: Cufinder::PersonSocial
- Inherits:
-
Object
- Object
- Cufinder::PersonSocial
- Defined in:
- lib/cufinder_ruby/types.rb
Overview
Person social media information
Instance Attribute Summary collapse
-
#facebook ⇒ Object
Returns the value of attribute facebook.
-
#github ⇒ Object
Returns the value of attribute github.
-
#linkedin ⇒ Object
Returns the value of attribute linkedin.
-
#linkedin_connections ⇒ Object
Returns the value of attribute linkedin_connections.
-
#linkedin_username ⇒ Object
Returns the value of attribute linkedin_username.
-
#twitter ⇒ Object
Returns the value of attribute twitter.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ PersonSocial
constructor
A new instance of PersonSocial.
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
#facebook ⇒ Object
Returns the value of attribute facebook.
101 102 103 |
# File 'lib/cufinder_ruby/types.rb', line 101 def facebook @facebook end |
#github ⇒ Object
Returns the value of attribute github.
101 102 103 |
# File 'lib/cufinder_ruby/types.rb', line 101 def github @github end |
#linkedin ⇒ Object
Returns the value of attribute linkedin.
101 102 103 |
# File 'lib/cufinder_ruby/types.rb', line 101 def linkedin @linkedin end |
#linkedin_connections ⇒ Object
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_username ⇒ Object
Returns the value of attribute linkedin_username.
101 102 103 |
# File 'lib/cufinder_ruby/types.rb', line 101 def linkedin_username @linkedin_username end |
#twitter ⇒ Object
Returns the value of attribute twitter.
101 102 103 |
# File 'lib/cufinder_ruby/types.rb', line 101 def twitter @twitter end |