Skip to content

Commit

Permalink
Add custom_metadata as patchable field on custom hostname endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Evesy committed May 17, 2019
1 parent e7229c5 commit bc3abc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cloudflair/api/zone/custom_hostname.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class CustomHostname

attr_reader :zone_id, :custom_hostname_id
deletable true
patchable_fields :ssl, :custom_origin_server
patchable_fields :ssl, :custom_origin_server, :custom_metadata
path 'zones/:zone_id/custom_hostnames/:custom_hostname_id'

def initialize(zone_id, custom_hostname_id)
Expand Down

0 comments on commit bc3abc3

Please sign in to comment.