Sha256: 7e6fb1918825132795158498fd519240ce40eacd39269b0eaa08e0b38ab47d27
Contents?: true
Size: 367 Bytes
Versions: 3
Compression:
Stored size: 367 Bytes
Contents
class RemoteUser < ActiveResource::Base self.site = Rails.application.config.respond_to?(:remote_sso_url) ? Rails.application.config.remote_sso_url : "http://localhost:3000" self.element_name = "user" self.headers['X-SERVICE-TOKEN'] = Rails.application.config.respond_to?(:remote_service_token) ? Rails.application.config.remote_service_token : 'be happy' end
Version data entries
3 entries across 3 versions & 1 rubygems