Class: FileBuilder::TrackEvent

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



119
120
121
122
123
124
125
126
127
128
# File 'app/services/file_builder.rb', line 119

def call
  if options['track_event'].present?
    {
      before_action: code,
      private_methods: code
    }
  else
    {}
  end
end