Sha256: 5e9dc1b71ebf06a7a4abd2fbfb7a90545347158bb057c3d2aa74fd06b171ab1b
Contents?: true
Size: 351 Bytes
Versions: 7
Compression:
Stored size: 351 Bytes
Contents
require 'cloudflair/entity' module Cloudflair class DevelopmentMode include Cloudflair::Entity attr_reader :zone_id patchable_fields :value path 'zones/:zone_id/settings/development_mode' def initialize(zone_id) @zone_id = zone_id end def time_remaining data.fetch('time_remaining', 0) end end end
Version data entries
7 entries across 7 versions & 1 rubygems