Class: FileBuilder::SkipCsrf

Inherits:
Object
  • Object
show all
Includes:
Callable
Defined in:
app/services/file_builder.rb

Instance Method Summary collapse

Methods included from Callable

#initialize

Instance Method Details

#callObject



191
192
193
194
195
# File 'app/services/file_builder.rb', line 191

def call
  return {} unless options['skip-csrf'] == '1'

  { private_methods: code }
end