Sha256: a3fc8d8ca56f31eab4398fc81d6f07b0d1b871b1eda99fb0dee49ccae11b27c4
Contents?: true
Size: 297 Bytes
Versions: 26
Compression:
Stored size: 297 Bytes
Contents
# frozen_string_literal: true class ResourceRouteBuilderController def initialize(id: nil, document: nil) @id = id @document_params = document end private attr_reader :id, :document_params def document documents.find(id) end def documents Document.all end end
Version data entries
26 entries across 26 versions & 1 rubygems