Class: Entitlements::Data::People::Dummy
- Inherits:
-
Object
- Object
- Entitlements::Data::People::Dummy
show all
- Includes:
- Contracts::Core
- Defined in:
- lib/entitlements.rb,
lib/entitlements/data/people/dummy.rb
Constant Summary
collapse
- C =
::Contracts
Class Method Summary
collapse
Instance Method Summary
collapse
common, extended, included
Constructor Details
#initialize ⇒ Dummy
Returns a new instance of Dummy.
51
52
53
|
# File 'lib/entitlements/data/people/dummy.rb', line 51
def initialize
end
|
Class Method Details
.fingerprint(_config) ⇒ Object
20
21
22
|
# File 'lib/entitlements/data/people/dummy.rb', line 20
def self.fingerprint(_config)
"dummy"
end
|
.new_from_config(_config) ⇒ Object
32
33
34
|
# File 'lib/entitlements/data/people/dummy.rb', line 32
def self.new_from_config(_config)
new
end
|
.validate_config!(_key, _config) ⇒ Object
43
44
45
|
# File 'lib/entitlements/data/people/dummy.rb', line 43
def self.validate_config!(_key, _config)
end
|
Instance Method Details
#read(dn = nil) ⇒ Object
62
63
64
65
|
# File 'lib/entitlements/data/people/dummy.rb', line 62
def read(dn = nil)
return {} if dn.nil?
raise Entitlements::Data::People::NoSuchPersonError, "read(#{dn.inspect}) matched no known person"
end
|