Sha256: 82274ac739deea3a731ef4d828b3f446157d18f02a6c323ae0edde702523e2fa

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

module Pakyow
  module UI
    module Helpers
      def ui?
        @connection.request_header?("pw-ui")
      end

      def ui
        @connection.request_header("pw-ui")
      end

      def ui_transform?
        @connection.set?(:__ui_transform)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pakyow-ui-1.0.0.rc2 lib/pakyow/ui/helpers.rb
pakyow-ui-1.0.0.rc1 lib/pakyow/ui/helpers.rb