lib/muddyit/entity.rb in monkeyhelper-muddyit_fu-0.1.0 vs lib/muddyit/entity.rb in monkeyhelper-muddyit_fu-0.1.1
- old
+ new
@@ -8,10 +8,10 @@
@attributes[:type]
end
protected
def fetch
- api_url = "#{@muddyit.rest_endpoint}/entities/#{URI.escape(CGI.escape(@attributes[:uri]),'.')}"
+ api_url = "/entities/#{URI.escape(CGI.escape(@attributes[:uri]),'.')}"
response = @muddyit.send_request(api_url, :get)
response.nested_symbolize_keys!
end
end
\ No newline at end of file