struct Endpoint
- Endpoint
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
models/endpoint.crConstructors
- .new(url : String, method : String, params : Array(Param), details : Details)
- .new(url : String, method : String, params : Array(Param))
- .new(url : String, method : String, details : Details)
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(url : String, method : String)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #details : Details
- #details=(details : Details)
- #method : String
- #method=(method : String)
- #params : Array(Param)
- #params=(params : Array(Param))
- #params_to_hash
- #protocol : String
- #protocol=(protocol : String)
- #push_param(param : Param)
- #set_details(details : Details)
- #set_protocol(protocol : String)
- #url : String
- #url=(url : String)