Module: Hive::Serializable
- Included in:
- Operation
- Defined in:
- lib/hive/mixins/serializable.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- NUMERIC_TYPES =
%i(unsigned_char uint16 uint32 uint64 signed_char int16 int32 int64 varint)
- KNOWN_TYPES =
NUMERIC_TYPES + %i(boolean string raw_bytes point_in_time public_key amount price authority optional_authority comment_options_extensions beneficiaries chain_properties required_auths witness_properties uint64_array empty_array lambda)
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
41 42 43 |
# File 'lib/hive/mixins/serializable.rb', line 41 def self.included(base) base.extend(ClassMethods) end |