Sha256: f88b07d5da68ea059787b09b8d7b67adc3153969c624d4d72d4ecff065eefcd2

Contents?: true

Size: 716 Bytes

Versions: 7

Compression:

Stored size: 716 Bytes

Contents

module Parliament
  module Grom
    module Decorator
      # Decorator namespace for Grom::Node instances with type: https://id.parliament.uk/schema/ProposedNegativeStatutoryInstrumentPaper
      module ProposedNegativeStatutoryInstrumentPaper
        # Alias proposedNegativeStatutoryInstrumentPaperPrecedesStatutoryInstrumentPaper with fallback.
        #
        # @return [Array, Array] an array of StatutoryInstrumentPaper Grom::Nodes or an empty array.
        def statutory_instrument_papers
          respond_to?(:proposedNegativeStatutoryInstrumentPaperPrecedesStatutoryInstrumentPaper) ? proposedNegativeStatutoryInstrumentPaperPrecedesStatutoryInstrumentPaper : []
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
parliament-grom-decorators-1.0.6 lib/parliament/grom/decorator/proposed_negative_statutory_instrument_paper.rb
parliament-grom-decorators-1.0.5 lib/parliament/grom/decorator/proposed_negative_statutory_instrument_paper.rb
parliament-grom-decorators-1.0.4 lib/parliament/grom/decorator/proposed_negative_statutory_instrument_paper.rb
parliament-grom-decorators-1.0.3 lib/parliament/grom/decorator/proposed_negative_statutory_instrument_paper.rb
parliament-grom-decorators-1.0.2 lib/parliament/grom/decorator/proposed_negative_statutory_instrument_paper.rb
parliament-grom-decorators-1.0.0 lib/parliament/grom/decorator/proposed_negative_statutory_instrument_paper.rb
parliament-grom-decorators-1.0.0.pre.pre lib/parliament/grom/decorator/proposed_negative_statutory_instrument_paper.rb