Sha256: 9f701e793c4f604cd8c961078b3677bedccf6256992bd24f0c72c6b9aefa600b

Contents?: true

Size: 310 Bytes

Versions: 2

Compression:

Stored size: 310 Bytes

Contents

# frozen_string_literal: true

require 'cloudflair/entity'

module Cloudflair
  class MobileRedirect
    include Cloudflair::Entity

    attr_reader :zone_id

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

    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/mobile_redirect.rb
cloudflair-0.3.0 lib/cloudflair/api/zone/settings/mobile_redirect.rb