Sha256: ec30f2bd725f24262060c3a7d601693b7b343646e9a4159ab02ff1ccbd98fcc7

Contents?: true

Size: 405 Bytes

Versions: 11

Compression:

Stored size: 405 Bytes

Contents

# frozen_string_literal: true

module Bridgetown
  module Drops
    class UnifiedPayloadDrop < Drop
      mutable true

      attr_accessor :page, :layout, :content, :paginator

      def bridgetown
        BridgetownDrop.global
      end

      def site
        @site_drop ||= SiteDrop.new(@obj)
      end

      private

      def fallback_data
        @fallback_data ||= {}
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bridgetown-core-0.19.3 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.19.2 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.19.1 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.19.0 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.18.6 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.18.5 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.18.4 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.18.3 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.18.2 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.18.1 lib/bridgetown-core/drops/unified_payload_drop.rb
bridgetown-core-0.18.0 lib/bridgetown-core/drops/unified_payload_drop.rb