motion-prime/api_client.rb in motion-prime-0.3.1 vs motion-prime/api_client.rb in motion-prime-0.3.2
- old
+ new
@@ -50,9 +50,10 @@
return path if path =~ /^http(s)?:\/\//
"#{MotionPrime::Config.api.base}/api/v1#{path}"
end
def resource_url(path)
+ # return if path.blank?
"#{MotionPrime::Config.api.base}#{path}"
end
def request(method, path, params = {}, &block)
params.merge!(access_token: access_token)
\ No newline at end of file