Class: Cufinder::CompanySignal
- Inherits:
-
Object
- Object
- Cufinder::CompanySignal
- Defined in:
- lib/cufinder_ruby/types.rb
Overview
CSA Company Signal
Instance Attribute Summary collapse
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#employees ⇒ Object
Returns the value of attribute employees.
-
#industry ⇒ Object
Returns the value of attribute industry.
-
#main_location ⇒ Object
Returns the value of attribute main_location.
-
#name ⇒ Object
Returns the value of attribute name.
-
#overview ⇒ Object
Returns the value of attribute overview.
-
#signal ⇒ Object
Returns the value of attribute signal.
-
#social ⇒ Object
Returns the value of attribute social.
-
#type ⇒ Object
Returns the value of attribute type.
-
#website ⇒ Object
Returns the value of attribute website.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ CompanySignal
constructor
A new instance of CompanySignal.
Constructor Details
#initialize(data = {}) ⇒ CompanySignal
Returns a new instance of CompanySignal.
786 787 788 789 790 791 792 793 794 795 796 797 |
# File 'lib/cufinder_ruby/types.rb', line 786 def initialize(data = {}) @name = data["name"] @website = data["website"] @domain = data["domain"] @employees = data["employees"] @industry = data["industry"] @overview = data["overview"] @type = data["type"] @main_location = data["main_location"] ? MainLocation.new(data["main_location"]) : nil @social = data["social"] @signal = data["signal"] ? Signal.new(data["signal"]) : nil end |
Instance Attribute Details
#domain ⇒ Object
Returns the value of attribute domain.
783 784 785 |
# File 'lib/cufinder_ruby/types.rb', line 783 def domain @domain end |
#employees ⇒ Object
Returns the value of attribute employees.
783 784 785 |
# File 'lib/cufinder_ruby/types.rb', line 783 def employees @employees end |
#industry ⇒ Object
Returns the value of attribute industry.
783 784 785 |
# File 'lib/cufinder_ruby/types.rb', line 783 def industry @industry end |
#main_location ⇒ Object
Returns the value of attribute main_location.
783 784 785 |
# File 'lib/cufinder_ruby/types.rb', line 783 def main_location @main_location end |
#name ⇒ Object
Returns the value of attribute name.
783 784 785 |
# File 'lib/cufinder_ruby/types.rb', line 783 def name @name end |
#overview ⇒ Object
Returns the value of attribute overview.
783 784 785 |
# File 'lib/cufinder_ruby/types.rb', line 783 def overview @overview end |
#signal ⇒ Object
Returns the value of attribute signal.
783 784 785 |
# File 'lib/cufinder_ruby/types.rb', line 783 def signal @signal end |
#social ⇒ Object
Returns the value of attribute social.
783 784 785 |
# File 'lib/cufinder_ruby/types.rb', line 783 def @social end |
#type ⇒ Object
Returns the value of attribute type.
783 784 785 |
# File 'lib/cufinder_ruby/types.rb', line 783 def type @type end |
#website ⇒ Object
Returns the value of attribute website.
783 784 785 |
# File 'lib/cufinder_ruby/types.rb', line 783 def website @website end |