Class: ConfigStore::Token

Inherits:
Model
  • Object
show all
Defined in:
lib/configstore/models/token.rb

Constant Summary collapse

ATTRIBUTES =
{
	uuid: TypedAttrAccessor::TYPE_STRING,
	description: TypedAttrAccessor::TYPE_STRING,
	secret: TypedAttrAccessor::TYPE_STRING,
	expiry: TypedAttrAccessor::TYPE_DATE_TIME,
	created_at: TypedAttrAccessor::TYPE_DATE_TIME,
	updated_at: TypedAttrAccessor::TYPE_DATE_TIME,
}.deep_freeze
API_ATTRIBUTE_LIST =
[:uuid, :description, :secret, :expiry, :created_at, :updated_at].deep_freeze

Constants included from TypedAttrAccessor

ConfigStore::TypedAttrAccessor::TYPE_BASE64, ConfigStore::TypedAttrAccessor::TYPE_BOOLEAN, ConfigStore::TypedAttrAccessor::TYPE_DATE_TIME, ConfigStore::TypedAttrAccessor::TYPE_HASH, ConfigStore::TypedAttrAccessor::TYPE_INTEGER, ConfigStore::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

Constructor Details

This class inherits a constructor from ConfigStore::Model