Sha256: c62c69c4cb33ac6a1b8c4cb3609ba19487823822e6fc8b95be841ab72b930c15

Contents?: true

Size: 233 Bytes

Versions: 2

Compression:

Stored size: 233 Bytes

Contents

# frozen_string_literal: true

class ParamsBuilderController
  def initialize(id, attributes)
    @params = ActionController::Parameters.new(
      id: id,
      document: attributes
    )
  end

  private

  attr_reader :params
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azeroth-1.0.0 spec/support/app/controllers/params_builder_controller.rb
azeroth-0.10.1 spec/support/app/controllers/params_builder_controller.rb