Sha256: 0ba6415e382b6ff415a836de55f8267e7ae421ecb6427e584d59dc98739ea61b

Contents?: true

Size: 250 Bytes

Versions: 6

Compression:

Stored size: 250 Bytes

Contents

# this file should not be loaded from Ruby <2.1

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
action_args-2.0.0 test/kwargs_keyreq_controllers.rb
action_args-1.5.4 spec/kwargs_keyreq_controllers.rb
action_args-1.5.3 spec/kwargs_keyreq_controllers.rb
action_args-1.5.2 spec/kwargs_keyreq_controllers.rb
action_args-1.5.1 spec/kwargs_keyreq_controllers.rb
action_args-1.4.0 spec/kwargs_keyreq_controllers.rb