Class: StartupStats::Formd::Filing
- Inherits:
-
Object
- Object
- StartupStats::Formd::Filing
- Defined in:
- lib/startupstats/formd/models/filing.rb
Instance Attribute Summary collapse
-
#business_combo ⇒ Object
Returns the value of attribute business_combo.
-
#company ⇒ Object
this will store all details.
-
#company_id ⇒ Object
Returns the value of attribute company_id.
-
#filing_date ⇒ Object
Returns the value of attribute filing_date.
-
#filing_id ⇒ Object
Returns the value of attribute filing_id.
-
#filing_num ⇒ Object
Returns the value of attribute filing_num.
-
#filing_type ⇒ Object
Returns the value of attribute filing_type.
-
#filing_url_html ⇒ Object
Returns the value of attribute filing_url_html.
-
#filing_url_xml ⇒ Object
Returns the value of attribute filing_url_xml.
-
#finders_fee ⇒ Object
Returns the value of attribute finders_fee.
-
#id ⇒ Object
Returns the value of attribute id.
-
#industry_group ⇒ Object
Returns the value of attribute industry_group.
-
#long_offering ⇒ Object
Returns the value of attribute long_offering.
-
#min_investment ⇒ Object
Returns the value of attribute min_investment.
-
#num_investors ⇒ Object
Returns the value of attribute num_investors.
-
#offering_amount ⇒ Object
Returns the value of attribute offering_amount.
-
#offering_sold ⇒ Object
Returns the value of attribute offering_sold.
-
#processed ⇒ Object
Returns the value of attribute processed.
-
#sales_commission ⇒ Object
Returns the value of attribute sales_commission.
-
#security_type ⇒ Object
Returns the value of attribute security_type.
-
#use_of_proceeds ⇒ Object
Returns the value of attribute use_of_proceeds.
Instance Method Summary collapse
-
#initialize(response = {}) ⇒ Filing
constructor
A new instance of Filing.
Constructor Details
#initialize(response = {}) ⇒ Filing
Returns a new instance of Filing.
9 10 11 12 13 14 15 16 |
# File 'lib/startupstats/formd/models/filing.rb', line 9 def initialize response = {} response.each do |k, v| instance_variable_set("@#{k}",v) unless v.nil? || k == :company if k == :company instance_variable_set("@#{k}", StartupStats::Formd::Company.new(v) ) end end end |
Instance Attribute Details
#business_combo ⇒ Object
Returns the value of attribute business_combo.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def business_combo @business_combo end |
#company ⇒ Object
this will store all details
8 9 10 |
# File 'lib/startupstats/formd/models/filing.rb', line 8 def company @company end |
#company_id ⇒ Object
Returns the value of attribute company_id.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def company_id @company_id end |
#filing_date ⇒ Object
Returns the value of attribute filing_date.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def filing_date @filing_date end |
#filing_id ⇒ Object
Returns the value of attribute filing_id.
5 6 7 |
# File 'lib/startupstats/formd/models/filing.rb', line 5 def filing_id @filing_id end |
#filing_num ⇒ Object
Returns the value of attribute filing_num.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def filing_num @filing_num end |
#filing_type ⇒ Object
Returns the value of attribute filing_type.
5 6 7 |
# File 'lib/startupstats/formd/models/filing.rb', line 5 def filing_type @filing_type end |
#filing_url_html ⇒ Object
Returns the value of attribute filing_url_html.
5 6 7 |
# File 'lib/startupstats/formd/models/filing.rb', line 5 def filing_url_html @filing_url_html end |
#filing_url_xml ⇒ Object
Returns the value of attribute filing_url_xml.
5 6 7 |
# File 'lib/startupstats/formd/models/filing.rb', line 5 def filing_url_xml @filing_url_xml end |
#finders_fee ⇒ Object
Returns the value of attribute finders_fee.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def finders_fee @finders_fee end |
#id ⇒ Object
Returns the value of attribute id.
5 6 7 |
# File 'lib/startupstats/formd/models/filing.rb', line 5 def id @id end |
#industry_group ⇒ Object
Returns the value of attribute industry_group.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def industry_group @industry_group end |
#long_offering ⇒ Object
Returns the value of attribute long_offering.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def long_offering @long_offering end |
#min_investment ⇒ Object
Returns the value of attribute min_investment.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def min_investment @min_investment end |
#num_investors ⇒ Object
Returns the value of attribute num_investors.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def num_investors @num_investors end |
#offering_amount ⇒ Object
Returns the value of attribute offering_amount.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def offering_amount @offering_amount end |
#offering_sold ⇒ Object
Returns the value of attribute offering_sold.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def offering_sold @offering_sold end |
#processed ⇒ Object
Returns the value of attribute processed.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def processed @processed end |
#sales_commission ⇒ Object
Returns the value of attribute sales_commission.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def sales_commission @sales_commission end |
#security_type ⇒ Object
Returns the value of attribute security_type.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def security_type @security_type end |
#use_of_proceeds ⇒ Object
Returns the value of attribute use_of_proceeds.
6 7 8 |
# File 'lib/startupstats/formd/models/filing.rb', line 6 def use_of_proceeds @use_of_proceeds end |