lib/akamai_cloudlet_manager/policy_version.rb
def create(clone_from_version_id)
      request  = Net::HTTP::Post.new(
        URI.join(
          @base_uri.to_s,
          "cloudlets/api/v2/policies/#{@policy_id}/versions?includeRules=false&matchRuleFormat=1.0&cloneVersion=#{clone_from_version_id}"
        ).to_s,
        { 'Content-Type' => 'application/json'}
      )
      response = @http_host.request(request)
      response.body
    end
def create(clone_from_version_id)
      request  = Net::HTTP::Post.new(
        URI.join(
          @base_uri.to_s,
          "cloudlets/api/v2/policies/#{@policy_id}/versions?includeRules=false&matchRuleFormat=1.0&cloneVersion=#{clone_from_version_id}"
        ).to_s,
        { 'Content-Type' => 'application/json'}
      )
      response = @http_host.request(request)
      response.body
    end
Create a policy version