Class: FederalRegister::Facet::PublicInspectionIssue::TypeFiling
- Inherits:
-
FederalRegister::Facet::PublicInspectionIssue
- Object
- Client
- Base
- FederalRegister::Facet::PublicInspectionIssue
- FederalRegister::Facet::PublicInspectionIssue::TypeFiling
- Defined in:
- lib/federal_register/facet/public_inspection_issue/type_filing.rb
Defined Under Namespace
Classes: DocumentTypeFacet
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#document_types ⇒ Object
readonly
Returns the value of attribute document_types.
-
#search_conditions ⇒ Object
readonly
Returns the value of attribute search_conditions.
Attributes inherited from FederalRegister::Facet::PublicInspectionIssue
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(attributes, conditions, options = {}) ⇒ TypeFiling
constructor
A new instance of TypeFiling.
Methods inherited from FederalRegister::Facet::PublicInspectionIssue
#regular_filings, search, #special_filings
Methods inherited from Base
add_attribute, #fetch_full, #full?, override_base_uri
Methods inherited from Client
Constructor Details
#initialize(attributes, conditions, options = {}) ⇒ TypeFiling
Returns a new instance of TypeFiling.
4 5 6 7 |
# File 'lib/federal_register/facet/public_inspection_issue/type_filing.rb', line 4 def initialize(attributes, conditions, ={}) @search_conditions = conditions @document_types = attributes.map{|k,v| DocumentTypeFacet.new(k, v, @search_conditions)} end |
Instance Attribute Details
#document_types ⇒ Object (readonly)
Returns the value of attribute document_types.
2 3 4 |
# File 'lib/federal_register/facet/public_inspection_issue/type_filing.rb', line 2 def document_types @document_types end |
#search_conditions ⇒ Object (readonly)
Returns the value of attribute search_conditions.
2 3 4 |
# File 'lib/federal_register/facet/public_inspection_issue/type_filing.rb', line 2 def search_conditions @search_conditions end |