struct CB::Model::SessionIntent
- CB::Model::SessionIntent
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
Constructors
- .new(id : String, agent_name : String = "cb", code : String = "cbsic_code", expires_at : Time = Time::ZERO, secret : String | Nil = nil, session : Session | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #agent_name : String
- #clone
- #code : String
- #copy_with(id _id = @id, agent_name _agent_name = @agent_name, code _code = @code, expires_at _expires_at = @expires_at, secret _secret = @secret, session _session = @session)
- #expires_at : Time
- #id : String
- #secret : String | Nil
- #session : Session | Nil
Constructor Detail
def self.new(id : String, agent_name : String = "cb", code : String = "cbsic_code", expires_at : Time = Time::ZERO, secret : String | Nil = nil, session : Session | Nil = nil)
#
Instance Method Detail
def copy_with(id _id = @id, agent_name _agent_name = @agent_name, code _code = @code, expires_at _expires_at = @expires_at, secret _secret = @secret, session _session = @session)
#