Class: Cufinder::EncCompany
- Inherits:
-
Object
- Object
- Cufinder::EncCompany
- Defined in:
- lib/cufinder_ruby/types.rb
Overview
ENC Company
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#description ⇒ Object
Returns the value of attribute description.
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#employee_count ⇒ Object
Returns the value of attribute employee_count.
-
#followers_count ⇒ Object
Returns the value of attribute followers_count.
-
#founded_year ⇒ Object
Returns the value of attribute founded_year.
-
#industry ⇒ Object
Returns the value of attribute industry.
-
#linkedin_url ⇒ Object
Returns the value of attribute linkedin_url.
-
#logo_url ⇒ Object
Returns the value of attribute logo_url.
-
#name ⇒ Object
Returns the value of attribute name.
-
#size ⇒ Object
Returns the value of attribute size.
-
#state ⇒ Object
Returns the value of attribute state.
-
#type ⇒ Object
Returns the value of attribute type.
-
#website ⇒ Object
Returns the value of attribute website.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ EncCompany
constructor
A new instance of EncCompany.
Constructor Details
#initialize(data = {}) ⇒ EncCompany
Returns a new instance of EncCompany.
432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 |
# File 'lib/cufinder_ruby/types.rb', line 432 def initialize(data = {}) @name = data["name"] @website = data["website"] @employee_count = data["employee_count"] @industry = data["industry"] @size = data["size"] @description = data["description"] @linkedin_url = data["linkedin_url"] @type = data["type"] @domain = data["domain"] @country = data["country"] @state = data["state"] @city = data["city"] @address = data["address"] @founded_year = data["founded_year"] @logo_url = data["logo_url"] @followers_count = data["followers_count"] end |
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def address @address end |
#city ⇒ Object
Returns the value of attribute city.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def country @country end |
#description ⇒ Object
Returns the value of attribute description.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def description @description end |
#domain ⇒ Object
Returns the value of attribute domain.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def domain @domain end |
#employee_count ⇒ Object
Returns the value of attribute employee_count.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def employee_count @employee_count end |
#followers_count ⇒ Object
Returns the value of attribute followers_count.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def followers_count @followers_count end |
#founded_year ⇒ Object
Returns the value of attribute founded_year.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def founded_year @founded_year end |
#industry ⇒ Object
Returns the value of attribute industry.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def industry @industry end |
#linkedin_url ⇒ Object
Returns the value of attribute linkedin_url.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def linkedin_url @linkedin_url end |
#logo_url ⇒ Object
Returns the value of attribute logo_url.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def logo_url @logo_url end |
#name ⇒ Object
Returns the value of attribute name.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def name @name end |
#size ⇒ Object
Returns the value of attribute size.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def size @size end |
#state ⇒ Object
Returns the value of attribute state.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def state @state end |
#type ⇒ Object
Returns the value of attribute type.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def type @type end |
#website ⇒ Object
Returns the value of attribute website.
428 429 430 |
# File 'lib/cufinder_ruby/types.rb', line 428 def website @website end |