lib/minglr/mingle_resource.rb in schubert-minglr-1.0.6 vs lib/minglr/mingle_resource.rb in schubert-minglr-1.1.0
- old
+ new
@@ -1,5 +1,5 @@
class MingleResource < ActiveResource::Base
def self.configure(uri_options)
- self.site = "http://#{uri_options[:username]}:#{uri_options[:password]}@#{uri_options[:host_and_port]}/projects/#{uri_options[:project]}"
+ self.site = "#{uri_options[:protocol]}://#{uri_options[:username]}:#{uri_options[:password]}@#{uri_options[:host_and_port]}/projects/#{uri_options[:project]}"
end
end