Commit 227f10f0 authored by Nivaldo Neto's avatar Nivaldo Neto

change API request URL

parent a07ac940
class ActivityGalleryPlugin::Request
class << self
def request(method, url, body, jwt)
base_url = ""
base_url = ""
uri = URI.parse(base_url + url)
request = "Net::HTTP::#{method.to_s.camelize}"
request.content_type = "application/json"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment