struct CB::Tempkey
- CB::Tempkey
- Struct
- Value
- Object
Included Modules
- CB::Cacheable
- JSON::Serializable
Extended Modules
Defined in:
cb/tempkey.crConstructors
- .for_cluster(cluster_id : Identifier, client) : Tempkey
- .new(private_key : String, public_key : String, cluster_id : String, team_id : String, expires_at : Time)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #clone
- #cluster_id : String
- #copy_with(private_key _private_key = @private_key, public_key _public_key = @public_key, cluster_id _cluster_id = @cluster_id, team_id _team_id = @team_id, expires_at _expires_at = @expires_at)
- #expires_at : Time
- #key
- #private_key : String
- #public_key : String
- #team_id : String
Instance methods inherited from module CB::Cacheable
expires_at : Time
expires_at,
key
key,
store
store
Macros inherited from module CB::Cacheable
include(key)
include
Constructor Detail
def self.new(private_key : String, public_key : String, cluster_id : String, team_id : String, expires_at : Time)
#
Instance Method Detail
def copy_with(private_key _private_key = @private_key, public_key _public_key = @public_key, cluster_id _cluster_id = @cluster_id, team_id _team_id = @team_id, expires_at _expires_at = @expires_at)
#