Class: Cufinder::CompanySocial

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

Overview

Company social media information

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = {}) ⇒ CompanySocial

Returns a new instance of CompanySocial.



33
34
35
36
37
38
39
# File 'lib/cufinder_ruby/types.rb', line 33

def initialize(data = {})
  @facebook = data["facebook"]
  @linkedin = data["linkedin"]
  @twitter = data["twitter"]
  @youtube = data["youtube"]
  @instagram = data["instagram"]
end

Instance Attribute Details

#facebookObject

Returns the value of attribute facebook.



31
32
33
# File 'lib/cufinder_ruby/types.rb', line 31

def facebook
  @facebook
end

#instagramObject

Returns the value of attribute instagram.



31
32
33
# File 'lib/cufinder_ruby/types.rb', line 31

def instagram
  @instagram
end

#linkedinObject

Returns the value of attribute linkedin.



31
32
33
# File 'lib/cufinder_ruby/types.rb', line 31

def linkedin
  @linkedin
end

#twitterObject

Returns the value of attribute twitter.



31
32
33
# File 'lib/cufinder_ruby/types.rb', line 31

def twitter
  @twitter
end

#youtubeObject

Returns the value of attribute youtube.



31
32
33
# File 'lib/cufinder_ruby/types.rb', line 31

def youtube
  @youtube
end