Sha256: f583658391598934dec0ff8924bb5877b2e4f6727a2f69ca26bf05842ce27db8

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

# frozen_string_literal: true

module CableReady
  module Element
    module OperationBuilder
      def operations_in_custom_element
        %(<cable-ready><script type="application/json">#{operations_payload.to_json}</script></cable-ready>)
      end
    end
  end
end

::CableReady::OperationBuilder.prepend(::CableReady::Element::OperationBuilder)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cable_ready-element-5.0.0 lib/cable_ready/element/operation_builder.rb