Module: Parliament::Grom::Decorator::ProposedNegativeStatutoryInstrumentPaper
- Defined in:
- lib/parliament/grom/decorator/proposed_negative_statutory_instrument_paper.rb
Overview
Decorator namespace for Grom::Node instances with type: id.parliament.uk/schema/ProposedNegativeStatutoryInstrumentPaper
Instance Method Summary collapse
-
#name ⇒ String
Alias proposedNegativeStatutoryInstrumentPaperName with fallback.
-
#statutory_instrument_papers ⇒ Array
Alias proposedNegativeStatutoryInstrumentPaperPrecedesStatutoryInstrumentPaper with fallback.
Instance Method Details
#name ⇒ String
Alias proposedNegativeStatutoryInstrumentPaperName with fallback.
9 10 11 |
# File 'lib/parliament/grom/decorator/proposed_negative_statutory_instrument_paper.rb', line 9 def name respond_to?(:proposedNegativeStatutoryInstrumentPaperName) ? proposedNegativeStatutoryInstrumentPaperName : '' end |
#statutory_instrument_papers ⇒ Array
Alias proposedNegativeStatutoryInstrumentPaperPrecedesStatutoryInstrumentPaper with fallback.
16 17 18 |
# File 'lib/parliament/grom/decorator/proposed_negative_statutory_instrument_paper.rb', line 16 def statutory_instrument_papers respond_to?(:proposedNegativeStatutoryInstrumentPaperPrecedesStatutoryInstrumentPaper) ? proposedNegativeStatutoryInstrumentPaperPrecedesStatutoryInstrumentPaper : [] end |