Sha256: 4afb3c9f8bab57e033b68258df03615e1dd1a958906e64f47861ab35466aca41

Contents?: true

Size: 279 Bytes

Versions: 7

Compression:

Stored size: 279 Bytes

Contents

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

7 entries across 7 versions & 1 rubygems

Version Path
cloudflair-0.2.5 lib/cloudflair/api/zone/settings/mobile_redirect.rb
cloudflair-0.2.4 lib/cloudflair/api/zone/settings/mobile_redirect.rb
cloudflair-0.2.0 lib/cloudflair/api/zone/settings/mobile_redirect.rb
cloudflair-0.1.0 lib/cloudflair/api/zone/settings/mobile_redirect.rb
cloudflair-0.0.9 lib/cloudflair/api/zone/settings/mobile_redirect.rb
cloudflair-0.0.8 lib/cloudflair/api/zone/settings/mobile_redirect.rb
cloudflair-0.0.7 lib/cloudflair/api/zone/settings/mobile_redirect.rb