Class: Konsierge::Idempotency::Normalizer
- Inherits:
-
Object
- Object
- Konsierge::Idempotency::Normalizer
- Defined in:
- lib/konsierge/idempotency/normalizer.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(object) ⇒ Normalizer
constructor
A new instance of Normalizer.
- #normalize ⇒ Object
Constructor Details
#initialize(object) ⇒ Normalizer
Returns a new instance of Normalizer.
14 15 16 |
# File 'lib/konsierge/idempotency/normalizer.rb', line 14 def initialize(object) @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
12 13 14 |
# File 'lib/konsierge/idempotency/normalizer.rb', line 12 def object @object end |
Class Method Details
.normalize ⇒ Object
7 8 9 |
# File 'lib/konsierge/idempotency/normalizer.rb', line 7 def normalize(...) new(...).normalize end |
Instance Method Details
#normalize ⇒ Object
18 19 20 |
# File 'lib/konsierge/idempotency/normalizer.rb', line 18 def normalize normalize_object(object) end |