lib/deposit/client.rb in killbill-deposit-0.0.4 vs lib/deposit/client.rb in killbill-deposit-0.1.1
- old
+ new
@@ -31,10 +31,10 @@
}.merge(options)
response.body
end
def deposit_plugin_available?(options = nil)
- path = KILLBILL_DEPOSIT_PREFIX + '/healthcheck'
+ path = "#{KILLBILL_DEPOSIT_PREFIX}/healthcheck"
KillBillClient::API.get path, nil, options
[true, nil]
# Response error if the deposit plugin is not listening
rescue KillBillClient::API::ResponseError => e