Class: StartupStats::Formd::Company

Inherits:
Object
  • Object
show all
Defined in:
lib/startupstats/formd/models/company.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response = {}) ⇒ Company

Returns a new instance of Company.



7
8
9
10
11
# File 'lib/startupstats/formd/models/company.rb', line 7

def initialize response = {}
	response.each do |k, v|  
		instance_variable_set("@#{k}",v) unless v.nil?
	end
end

Instance Attribute Details

#address_cityObject

Returns the value of attribute address_city.



4
5
6
# File 'lib/startupstats/formd/models/company.rb', line 4

def address_city
  @address_city
end

#address_spcObject

Returns the value of attribute address_spc.



4
5
6
# File 'lib/startupstats/formd/models/company.rb', line 4

def address_spc
  @address_spc
end

#address_street1Object

Returns the value of attribute address_street1.



4
5
6
# File 'lib/startupstats/formd/models/company.rb', line 4

def address_street1
  @address_street1
end

#address_street2Object

Returns the value of attribute address_street2.



4
5
6
# File 'lib/startupstats/formd/models/company.rb', line 4

def address_street2
  @address_street2
end

#address_zipObject

Returns the value of attribute address_zip.



4
5
6
# File 'lib/startupstats/formd/models/company.rb', line 4

def address_zip
  @address_zip
end

#entity_typeObject

Returns the value of attribute entity_type.



4
5
6
# File 'lib/startupstats/formd/models/company.rb', line 4

def entity_type
  @entity_type
end

#idObject

Returns the value of attribute id.



4
5
6
# File 'lib/startupstats/formd/models/company.rb', line 4

def id
  @id
end

#inc_stateObject

Returns the value of attribute inc_state.



4
5
6
# File 'lib/startupstats/formd/models/company.rb', line 4

def inc_state
  @inc_state
end

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/startupstats/formd/models/company.rb', line 4

def name
  @name
end

#phoneObject

Returns the value of attribute phone.



4
5
6
# File 'lib/startupstats/formd/models/company.rb', line 4

def phone
  @phone
end

#sec_idObject

Returns the value of attribute sec_id.



4
5
6
# File 'lib/startupstats/formd/models/company.rb', line 4

def sec_id
  @sec_id
end