Class: Cufinder::CjaCompany

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

Overview

CJA Company (within job listing)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = {}) ⇒ CjaCompany

Returns a new instance of CjaCompany.



700
701
702
703
704
705
706
707
708
709
710
711
# File 'lib/cufinder_ruby/types.rb', line 700

def initialize(data = {})
  @name = data["name"]
  @industry = data["industry"]
  @website = data["website"]
  @linkedin = data["linkedin"]
  @followers_count = data["followers_count"]
  @employees = data["employees"]
  @founded_date = data["founded_date"]
  @annual_revenue = data["annual_revenue"]
  @funding_amount = data["funding_amount"]
  @main_location = data["main_location"] ? MainLocation.new(data["main_location"]) : nil
end

Instance Attribute Details

#annual_revenueObject

Returns the value of attribute annual_revenue.



696
697
698
# File 'lib/cufinder_ruby/types.rb', line 696

def annual_revenue
  @annual_revenue
end

#employeesObject

Returns the value of attribute employees.



696
697
698
# File 'lib/cufinder_ruby/types.rb', line 696

def employees
  @employees
end

#followers_countObject

Returns the value of attribute followers_count.



696
697
698
# File 'lib/cufinder_ruby/types.rb', line 696

def followers_count
  @followers_count
end

#founded_dateObject

Returns the value of attribute founded_date.



696
697
698
# File 'lib/cufinder_ruby/types.rb', line 696

def founded_date
  @founded_date
end

#funding_amountObject

Returns the value of attribute funding_amount.



696
697
698
# File 'lib/cufinder_ruby/types.rb', line 696

def funding_amount
  @funding_amount
end

#industryObject

Returns the value of attribute industry.



696
697
698
# File 'lib/cufinder_ruby/types.rb', line 696

def industry
  @industry
end

#linkedinObject

Returns the value of attribute linkedin.



696
697
698
# File 'lib/cufinder_ruby/types.rb', line 696

def linkedin
  @linkedin
end

#main_locationObject

Returns the value of attribute main_location.



696
697
698
# File 'lib/cufinder_ruby/types.rb', line 696

def main_location
  @main_location
end

#nameObject

Returns the value of attribute name.



696
697
698
# File 'lib/cufinder_ruby/types.rb', line 696

def name
  @name
end

#websiteObject

Returns the value of attribute website.



696
697
698
# File 'lib/cufinder_ruby/types.rb', line 696

def website
  @website
end