Module: Kernel
- Defined in:
- lib/soa.rb
Instance Method Summary collapse
Instance Method Details
#call_service(url, *args) ⇒ Object
47 48 49 |
# File 'lib/soa.rb', line 47 def call_service(url, *args) Soa.invoke(url, *args) end |
#service(route, &blk) ⇒ Object
43 44 45 |
# File 'lib/soa.rb', line 43 def service(route, &blk) Soa.register(route, blk) end |