Sha256: 5a16cc9979aa53e98b45090d2aacb4b78c5b8a095a8b343c4a1ce01dff8aaa31

Contents?: true

Size: 359 Bytes

Versions: 2

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: true

require 'cloudflair/entity'

module Cloudflair
  class TrueClientIpHeader
    include Cloudflair::Entity

    attr_reader :zone_id
    patchable_fields :value
    path 'zones/:zone_id/settings/true_client_ip_header'

    def initialize(zone_id)
      @zone_id = zone_id
    end

    def value
      _raw_data!
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cloudflair-0.4.0 lib/cloudflair/api/zone/settings/true_client_ip_header.rb
cloudflair-0.3.0 lib/cloudflair/api/zone/settings/true_client_ip_header.rb