Sha256: 7581c16509f931433f39d0a8c082edd211df249d794f272cbf5ae5bdbd9c5f86

Contents?: true

Size: 281 Bytes

Versions: 4

Compression:

Stored size: 281 Bytes

Contents

# frozen_string_literal: true
# this file should not be loaded from Ruby <2.1

class KwKeyreqBooksController < ApplicationController
  # keyword arguments
  def index(author_name:, page: '1', q: nil)
    render plain: {author_name: author_name, page: page, q: q}.inspect
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
action_args-2.3.1 test/kwargs_keyreq_controllers.rb
action_args-2.3.0 test/kwargs_keyreq_controllers.rb
action_args-2.2.1 test/kwargs_keyreq_controllers.rb
action_args-2.2.0 test/kwargs_keyreq_controllers.rb