class Lavin::Httpclient::Policy
- Lavin::Httpclient::Policy
- Lavin::Httpclient::Model
- Reference
- Object
Defined in:
endpoint/policy.crConstant Summary
-
ENDPOINT =
"/api/policies"
Constructors
Class Method Summary
- .all(vhost : String)
- .all
- .create_or_update(name : String, vhost : String, pattern : String, definition : Hash(String, String | Int32), priority : Int32 = 0, applyto : String = "All")
- .delete(name : String, vhost : String)
- .get(name : String, vhost : String)
Constructor methods inherited from class Lavin::Httpclient::Model
new(pull : JSON::PullParser)
new
Constructor Detail
Class Method Detail
def self.create_or_update(name : String, vhost : String, pattern : String, definition : Hash(String, String | Int32), priority : Int32 = 0, applyto : String = "All")
#