Sha256: 9f00ec53f01e49293c550110d2fb54be7946886f75a6528f053754838d1dfa0c

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

require 'cloudflair/entity'

module Cloudflair
  class SecurityLevel
    include Cloudflair::Entity

    attr_reader :zone_id

    patchable_fields :value
    path 'zones/:zone_id/settings/security_level'

    def initialize(zone_id)
      @zone_id = zone_id
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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