Sha256: dee3bd8f465948dde16544aa3731a900dd8fcfa68bb0a8bad6ce2db4485db7a4
Contents?: true
Size: 334 Bytes
Versions: 2
Compression:
Stored size: 334 Bytes
Contents
module Mercy module ClassMethods def status_report(*attr_names) id = attr_names.first options = { id: id }.merge(attr_names.extract_options!) self.status_builder.add_report_config(id, options) end def status_builder @status_builder ||= Mercy::StatusBuilder.new end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mercy-1.6.0 | lib/mercy/class_methods.rb |
mercy-1.5.0 | lib/mercy/class_methods.rb |