Class: Flipper::Adapters::ReadOnly
- Defined in:
- lib/flipper/adapters/read_only.rb
Overview
Public: Adapter that wraps another adapter and raises for any writes.
Defined Under Namespace
Classes: WriteAttempted
Constant Summary collapse
- WRITE_METHODS =
%i[add remove clear enable disable]
Constants inherited from Wrapper
Instance Attribute Summary
Attributes inherited from Wrapper
Instance Method Summary collapse
Methods inherited from Wrapper
Methods included from Flipper::Adapter
#default_config, #export, #get_all, #get_multi, #import, included, #name
Constructor Details
This class inherits a constructor from Flipper::Adapters::Wrapper
Instance Method Details
#read_only? ⇒ Boolean
15 16 17 |
# File 'lib/flipper/adapters/read_only.rb', line 15 def read_only? true end |