Sha256: 54453395f41855edd7805132d25504ae49ce782ecdf60c3ec40a5631e89c676d
Contents?: true
Size: 384 Bytes
Versions: 2
Compression:
Stored size: 384 Bytes
Contents
module Bidu 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 ||= Bidu::Mercy::StatusBuilder.new end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
mercy-1.3.0 | lib/bidu/mercy/class_methods.rb |
bidu-mercy-1.3.0 | lib/bidu/mercy/class_methods.rb |