lib/akamai_ccu/client.rb in akamai_ccu-1.5.4 vs lib/akamai_ccu/client.rb in akamai_ccu-1.5.5
- old
+ new
@@ -1,9 +1,14 @@
require "net/http"
require "openssl"
module AkamaiCCU
class Client
+ GET = :Get
+ POST = :Post
+ SSL = "https"
+ JSON_HEADER = { "Content-Type" => "application/json" }
+
attr_reader :net_klass, :host
def initialize(host:, net_klass: Net::HTTP)
@host = host
@net_klass = net_klass