struct CB::Model::Role
- CB::Model::Role
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
Constructors
- .new(account_id : String | Nil = nil, account_email : String | Nil = nil, name : String = "", password : String | Nil = nil, uri : URI | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #account_email : String | Nil
- #account_id : String | Nil
- #clone
- #copy_with(account_id _account_id = @account_id, account_email _account_email = @account_email, name _name = @name, password _password = @password, uri _uri = @uri)
- #name : String
- #password : String | Nil
- #uri : URI | Nil
Constructor Detail
def self.new(account_id : String | Nil = nil, account_email : String | Nil = nil, name : String = "", password : String | Nil = nil, uri : URI | Nil = nil)
#
Instance Method Detail
def copy_with(account_id _account_id = @account_id, account_email _account_email = @account_email, name _name = @name, password _password = @password, uri _uri = @uri)
#