Module: Bidu::House::ClassMethods
- Defined in:
- lib/bidu/house/class_methods.rb
Instance Method Summary collapse
Instance Method Details
#status_builder ⇒ Object
14 15 16 |
# File 'lib/bidu/house/class_methods.rb', line 14 def status_builder @status_builder ||= Bidu::House::StatusBuilder.new end |
#status_report(*attr_names) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/bidu/house/class_methods.rb', line 5 def status_report(*attr_names) id = attr_names.first = { id: id }.merge(attr_names.) self.status_builder.add_report_config(id, ) end |