Class: Cufinder::CompanySignal

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

Overview

CSA Company Signal

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#domainObject

Returns the value of attribute domain.



783
784
785
# File 'lib/cufinder_ruby/types.rb', line 783

def domain
  @domain
end

#employeesObject

Returns the value of attribute employees.



783
784
785
# File 'lib/cufinder_ruby/types.rb', line 783

def employees
  @employees
end

#industryObject

Returns the value of attribute industry.



783
784
785
# File 'lib/cufinder_ruby/types.rb', line 783

def industry
  @industry
end

#main_locationObject

Returns the value of attribute main_location.



783
784
785
# File 'lib/cufinder_ruby/types.rb', line 783

def main_location
  @main_location
end

#nameObject

Returns the value of attribute name.



783
784
785
# File 'lib/cufinder_ruby/types.rb', line 783

def name
  @name
end

#overviewObject

Returns the value of attribute overview.



783
784
785
# File 'lib/cufinder_ruby/types.rb', line 783

def overview
  @overview
end

#signalObject

Returns the value of attribute signal.



783
784
785
# File 'lib/cufinder_ruby/types.rb', line 783

def signal
  @signal
end

#socialObject

Returns the value of attribute social.



783
784
785
# File 'lib/cufinder_ruby/types.rb', line 783

def social
  @social
end

#typeObject

Returns the value of attribute type.



783
784
785
# File 'lib/cufinder_ruby/types.rb', line 783

def type
  @type
end

#websiteObject

Returns the value of attribute website.



783
784
785
# File 'lib/cufinder_ruby/types.rb', line 783

def website
  @website
end