Class: LaunchDarkly::Impl::DataModelPreprocessing::PreprocessedDataBase
- Inherits:
-
Object
- Object
- LaunchDarkly::Impl::DataModelPreprocessing::PreprocessedDataBase
- Defined in:
- lib/ldclient-rb/impl/model/preprocessed_data.rb
Overview
Base class for all of the preprocessed data classes we embed in our data model. Using this class ensures that none of its properties will be included in JSON representations. It also overrides
to say that it is always equal with another instance of the same class; equality tests on
this class are only ever done in test code, and we want the contents of these classes to be ignored in test code unless we are looking at specific attributes.
Direct Known Subclasses
FlagPreprocessed, FlagRulePreprocessed, PrerequisitePreprocessed, TargetPreprocessed
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
61 62 63 |
# File 'lib/ldclient-rb/impl/model/preprocessed_data.rb', line 61 def ==(other) other.class == self.class end |
#as_json ⇒ Object
53 54 55 |
# File 'lib/ldclient-rb/impl/model/preprocessed_data.rb', line 53 def as_json(*) nil end |
#to_json(*a) ⇒ Object
57 58 59 |
# File 'lib/ldclient-rb/impl/model/preprocessed_data.rb', line 57 def to_json(*a) "null" end |