Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
dsa6common
master
Common
Messages
BaseMessage
FileRequest
Response
Generated using Crystal 1.14.0
2024-11-26 18:30:08 UTC
class
Common::
Messages::
Response
Common::Messages::Response
Common::Messages::BaseMessage
Reference
Object
Defined in:
messages/response.cr
Constructors
.new
(success : Bool, message : String)
.new
(pull : MessagePack::Unpacker)
Instance Method Summary
#message
: String
#message=
(message : String)
#success
: Bool
#success=
(success : Bool)
Constructor methods inherited from class
Common::Messages::BaseMessage
new(pull : MessagePack::Unpacker)
new
Constructor Detail
def self.
new
(success : Bool, message : String)
#
[
View source
]
def self.
new
(pull : MessagePack::Unpacker)
#
[
View source
]
Instance Method Detail
def
message
: String
#
[
View source
]
def
message=
(message : String)
#
[
View source
]
def
success
: Bool
#
[
View source
]
def
success=
(success : Bool)
#
[
View source
]