Class: CASClient::Configuration

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/cas_client/configuration.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.mock_casObject



5
6
7
# File 'lib/cas_client/configuration.rb', line 5

def self.mock_cas
  self.instance.mock_cas
end

.mock_cas=(_mock_cas) ⇒ Object



9
10
11
# File 'lib/cas_client/configuration.rb', line 9

def self.mock_cas=(_mock_cas)
  self.instance.mock_cas = _mock_cas
end

Instance Method Details

#mock_casObject



13
14
15
# File 'lib/cas_client/configuration.rb', line 13

def mock_cas
  @mock_cas ||= false
end

#mock_cas=(_mock_cas) ⇒ Object



17
18
19
# File 'lib/cas_client/configuration.rb', line 17

def mock_cas=(_mock_cas)
  @mock_cas = _mock_cas
end