lib/micro/clients/rpc.rb in micro-rb-0.1.0.rc2 vs lib/micro/clients/rpc.rb in micro-rb-0.1.0.rc3
- old
+ new
@@ -4,13 +4,13 @@
module MicroRb
module Clients
class Rpc
include Base
- base_uri MicroRb::Configuration.instance.gateway_uri
+ base_uri MicroRb::Configuration.instance.api_uri
def self.call(service:, method:, params:, klass_response: nil)
- response = post(MicroRb::Configuration.instance.gateway_rpc,
+ response = post(MicroRb::Configuration.instance.api_rpc,
options(service: service, method: method, request: params))
return klass_response.new(response.to_h.symbolize_keys!) if klass_response
response