Class: Edgar::DataObjects::Base
- Inherits:
-
Object
- Object
- Edgar::DataObjects::Base
show all
- Defined in:
- lib/edgar/data_objects.rb
Overview
Base class for form-specific data wrappers.
Direct Known Subclasses
AlternativeTradingSystem, AtsCessation, Correspondence, DraftRegistrationStatement, Effect, FilingSummary, Form13F, Form144, Form20F, Form3, Form4, Form5, Form6K, Form8K, FormC, FormD, FormNCSR, FormNport, FundCensus, FundFeeNotice, MoneyMarketFund, MunicipalAdvisorForm, NPX, Prospectus424B, Prospectus497K, ProxyStatement, RegistrationS3, S1, Schedule13D, Schedule13G, TenD, TenK, TenQ, XmlFiling
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(filing) ⇒ Base
Returns a new instance of Base.
10
11
12
|
# File 'lib/edgar/data_objects.rb', line 10
def initialize(filing)
@filing = filing
end
|
Instance Attribute Details
#filing ⇒ Object
Returns the value of attribute filing.
8
9
10
|
# File 'lib/edgar/data_objects.rb', line 8
def filing
@filing
end
|
Instance Method Details
#accession_number ⇒ Object
26
27
28
|
# File 'lib/edgar/data_objects.rb', line 26
def accession_number
@filing.accession_number
end
|
#company_name ⇒ Object
18
19
20
|
# File 'lib/edgar/data_objects.rb', line 18
def company_name
@filing.company
end
|
#filing_date ⇒ Object
22
23
24
|
# File 'lib/edgar/data_objects.rb', line 22
def filing_date
@filing.filing_date
end
|
14
15
16
|
# File 'lib/edgar/data_objects.rb', line 14
def form_type
@filing.form
end
|
#to_s ⇒ Object
30
31
32
|
# File 'lib/edgar/data_objects.rb', line 30
def to_s
"#<#{self.class.name.split('::').last} #{form_type} #{company_name}>"
end
|