Sha256: ab2661277d255989f56ec0ecd7e3c4a3b43db8425a814741a91604b8b5802118
Contents?: true
Size: 333 Bytes
Versions: 4
Compression:
Stored size: 333 Bytes
Contents
class Authentication < ActiveResource::Base self.site = Rails.application.config.respond_to?(:remote_sso_url) ? Rails.application.config.remote_sso_url : "http://localhost:3000" self.headers['X-SERVICE-TOKEN'] = Rails.application.config.respond_to?(:remote_sso_token) ? Rails.application.config.remote_sso_token : 'be happy' end
Version data entries
4 entries across 4 versions & 1 rubygems