Sha256: a0d1c2eba3cb2ac402f18102554ac352363c5e96bc6aa898b6c03adb1354580c

Contents?: true

Size: 278 Bytes

Versions: 2

Compression:

Stored size: 278 Bytes

Contents

# frozen_string_literal: true

class <%= name.singularize.classify %>
  def initialize(request:)
    @request = request
  end

  def build_response
    return_response
  end

  private

  def return_response
    data = {}
    data[:message] = 'Hello world!'

    data
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
funkce-0.1.1 lib/funkce/generators/function/lib.tt
funkce-0.1.0 lib/funkce/generators/function/lib.tt