Class: GenerateBuffer::InitializeModuleClass

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

Instance Method Summary collapse

Methods included from Callable

#initialize

Instance Method Details

#callObject



55
56
57
58
59
# File 'app/services/generate_buffer.rb', line 55

def call
  return {} unless url.present?

  [start, finish].flatten.join("\n")
end