Module: Pakyow::Application::Helpers::UI

Defined in:
lib/pakyow/application/helpers/ui.rb

Instance Method Summary collapse

Instance Method Details

#uiObject



11
12
13
# File 'lib/pakyow/application/helpers/ui.rb', line 11

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

#ui?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/pakyow/application/helpers/ui.rb', line 7

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

#ui_transform?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


16
17
18
# File 'lib/pakyow/application/helpers/ui.rb', line 16

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