Method: Espago.method_missing
- Defined in:
- lib/espago.rb
.method_missing(method, *args, &block) ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/espago.rb', line 18 def method_missing(method, *args, &block) if Router.new(method, args[0]).path_exists? @default_client.send_request(method, args[0], args[1] || {} ) else super end end |