Sha256: 192bbd95232554c3ca0b7189f72dd636e5faf8dd66fcaf73e75c81942eb7eb96
Contents?: true
Size: 314 Bytes
Versions: 1
Compression:
Stored size: 314 Bytes
Contents
module Trailblazer::V2_1::Operation::Responder def self.included(base) base.extend ClassMethods end module ClassMethods def model_name model_class.model_name end end extend Forwardable def_delegators :@model, :to_param, :destroyed?, :persisted? def to_model @model end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trailblazer-future-2.1.0.rc1 | lib/trailblazer/v2_1/operation/responder.rb |