Module: SmartCore::ValueObject::Interface::Serializable::AsHash Private

Defined in:
lib/smart_core/value_object/interface/serializable.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0

Instance Method Summary collapse

Instance Method Details

#to_hHash<Symbol,Any> Also known as: to_hash, as_hash

Note:

strongly dependes on SmartCore::Initializer implementation

Returns:

  • (Hash<Symbol,Any>)

Since:

  • 0.1.0



26
27
28
# File 'lib/smart_core/value_object/interface/serializable.rb', line 26

def to_h
  __collect_params__.merge(__collect_options__)
end