Class: ConfigStore::Record
- Defined in:
- lib/configstore/models/record.rb
Constant Summary collapse
- ATTRIBUTES =
{ uuid: TypedAttrAccessor::TYPE_STRING, key: TypedAttrAccessor::TYPE_STRING, raw_value: TypedAttrAccessor::TYPE_BASE64, metadata: TypedAttrAccessor::TYPE_HASH, ttl: TypedAttrAccessor::TYPE_INTEGER, created_at: TypedAttrAccessor::TYPE_DATE_TIME, updated_at: TypedAttrAccessor::TYPE_DATE_TIME, last_access: TypedAttrAccessor::TYPE_DATE_TIME, value: TypedAttrAccessor::TYPE_STRING, }.deep_freeze
- API_ATTRIBUTE_LIST =
[:uuid, :key, :raw_value, :metadata, :ttl, :created_at, :updated_at, :last_access].deep_freeze
Constants included from TypedAttrAccessor
TypedAttrAccessor::TYPE_BASE64, TypedAttrAccessor::TYPE_BOOLEAN, TypedAttrAccessor::TYPE_DATE_TIME, TypedAttrAccessor::TYPE_HASH, TypedAttrAccessor::TYPE_INTEGER, TypedAttrAccessor::TYPE_STRING
Method Summary
Methods inherited from Model
api_attribute_names, api_attributes_hash, attribute_names, attributes_hash, from_api_hash, #initialize, #to_api_hash
Methods included from TypedAttrAccessor
allowed_types, type_alias_to_type_array, type_checks, type_specific_checks, #typed_attr_accessor