Module: Mosca::CommandBuilder
- Defined in:
- lib/mosca/command_builder.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
5 6 7 8 |
# File 'lib/mosca/command_builder.rb', line 5 def method_missing(method, *args) json = full_hash(method, *args).to_json client.publish json end |