Commit bd79f9e296f674c8af4e19d5e9c748a88efa0ea7

Authored by Francisco Júnior
2 parents b84a55b8 d5b179a1

Merge branch 'AI3283-integration_with_dspace' into stable

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
plugins/dspace/lib/dspace/resource.rb
1 1 class Dspace::Resource < ActiveResource::Base
2 2  
3 3 class << self
  4 + def proxy
  5 + ENV['HTTPS_PROXY'] ||= nil
  6 + end
  7 +
4 8 def element_path(id, prefix_options = {}, query_options = nil)
5 9 prefix_options, query_options = split_options(prefix_options) if query_options.nil?
6 10 "#{prefix(prefix_options)}#{collection_name}/#{id}#{query_string(query_options)}"
... ...