Sha256: 49c44b5461d045a2686c79173f74ffdb6363fe0fa2e67df8ba349699952a62df
Contents?: true
Size: 467 Bytes
Versions: 2
Compression:
Stored size: 467 Bytes
Contents
# frozen_string_literal: true require 'cloudflair/entity' module Cloudflair class CustomHostname include Cloudflair::Entity attr_reader :zone_id, :custom_hostname_id deletable true patchable_fields :ssl, :custom_origin_server, :custom_metadata path 'zones/:zone_id/custom_hostnames/:custom_hostname_id' def initialize(zone_id, custom_hostname_id) @zone_id = zone_id @custom_hostname_id = custom_hostname_id end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cloudflair-0.4.0 | lib/cloudflair/api/zone/custom_hostname.rb |
cloudflair-0.3.0 | lib/cloudflair/api/zone/custom_hostname.rb |