class Voltron::Config::Flash

Attributes

group[RW]
header[RW]

Public Class Methods

new() click to toggle source
# File lib/voltron/config/flash.rb, line 22
def initialize
  @header ||= 'X-Flash'
  @group = true unless @group === false
end

Public Instance Methods

to_h() click to toggle source
# File lib/voltron/config/flash.rb, line 27
def to_h
  { header: header, group: group }
end