class Lavin::Httpclient::Policy

Defined in:

endpoint/policy.cr

Constant Summary

ENDPOINT = "/api/policies"

Constructors

Class Method Summary

Constructor methods inherited from class Lavin::Httpclient::Model

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Class Method Detail

def self.all(vhost : String) #

[View source]
def self.all #

[View source]
def self.create_or_update(name : String, vhost : String, pattern : String, definition : Hash(String, String | Int32), priority : Int32 = 0, applyto : String = "All") #

[View source]
def self.delete(name : String, vhost : String) #

[View source]
def self.get(name : String, vhost : String) #

[View source]