Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
flow
master
Flow
ActiveFlow
Failure
Prop
Error
ErrorList
Validator
Property
Response
Helpers
Result
Step
Success
Utils
MergeParams
Built with Crystal 1.9.2
2023-10-07 10:22:56 UTC
class
Flow::Response
Flow::Response
Reference
Object
Defined in:
flow/response.cr
Constructors
.new
(body : JSON::Any, status : HTTP::Status)
.new
Instance Method Summary
#body
: JSON::Any
#body=
(body : JSON::Any)
#status
: HTTP::Status
#status=
(status : HTTP::Status)
Constructor Detail
def self.
new
(body : JSON::Any, status : HTTP::Status)
#
[
View source
]
def self.
new
#
[
View source
]
Instance Method Detail
def
body
: JSON::Any
#
[
View source
]
def
body=
(body : JSON::Any)
#
[
View source
]
def
status
: HTTP::Status
#
[
View source
]
def
status=
(status : HTTP::Status)
#
[
View source
]