Sha256: 1941099ef67a9d070ade4ec709edde5be7d22a7b7a89a4d2e7870e9c28080b6f

Contents?: true

Size: 463 Bytes

Versions: 5

Compression:

Stored size: 463 Bytes

Contents

# encoding: UTF-8

module Bunto
  module Drops
    class UnifiedPayloadDrop < Drop
      mutable true

      attr_accessor :page, :layout, :content, :paginator
      attr_accessor :highlighter_prefix, :highlighter_suffix

      def bunto
        BuntoDrop.global
      end

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bunto-3.4.5 lib/bunto/drops/unified_payload_drop.rb
bunto-3.2.1 lib/bunto/drops/unified_payload_drop.rb
bunto-3.0.0 lib/bunto/drops/unified_payload_drop.rb
bunto-2.0.0.pre lib/bunto/drops/unified_payload_drop.rb
bunto-1.0.0 lib/bunto/drops/unified_payload_drop.rb