Class: FileBuilder::Authorisation

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



57
58
59
60
61
62
63
64
65
# File 'app/services/file_builder.rb', line 57

def call
  if options['authorisation'] == '1'
    {
      before_actions: authorisation
    }
  else
    {}
  end
end