Sha256: b724d0f66fca2a54c5517ed4f7336ff39e5aee7440ef0bbd7487cc8a28008e03
Contents?: true
Size: 473 Bytes
Versions: 23
Compression:
Stored size: 473 Bytes
Contents
# frozen_string_literal: true module Azeroth class RequestHandler # @api private # # hadler for requests to show a resource class Show < RequestHandler private # @private # # Finds and return an instance of the model # # finding happens through calling the controller # method +"#{model.name}"+ # # @return [Object] def resource controller.send(model.name) end end end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
azeroth-0.3.0 | lib/azeroth/request_handler/show.rb |
azeroth-0.2.0 | lib/azeroth/request_handler/show.rb |
azeroth-0.1.0 | lib/azeroth/request_handler/show.rb |