class NgrokAPI::Models::ReservedDomain
Attributes
acme_challenge_cname_target[R]
attrs[R]
certificate[R]
certificate_management_policy[R]
certificate_management_status[R]
client[R]
cname_target[R]
created_at[R]
description[R]
domain[R]
http_endpoint_configuration[R]
https_endpoint_configuration[R]
id[R]
metadata[R]
region[R]
uri[R]
Public Class Methods
new(client: nil, attrs: {})
click to toggle source
# File lib/ngrokapi/models/reserved_domain.rb, line 23 def initialize(client: nil, attrs: {}) @client = client @attrs = attrs @id = @attrs['id'] @uri = @attrs['uri'] @created_at = @attrs['created_at'] @description = @attrs['description'] @metadata = @attrs['metadata'] @domain = @attrs['domain'] @region = @attrs['region'] @cname_target = @attrs['cname_target'] @http_endpoint_configuration = @attrs['http_endpoint_configuration'] @https_endpoint_configuration = @attrs['https_endpoint_configuration'] @certificate = @attrs['certificate'] @certificate_management_policy = @attrs['certificate_management_policy'] @certificate_management_status = @attrs['certificate_management_status'] @acme_challenge_cname_target = @attrs['acme_challenge_cname_target'] end
Public Instance Methods
==(other)
click to toggle source
# File lib/ngrokapi/models/reserved_domain.rb, line 42 def ==(other) @attrs == other.attrs end
delete()
click to toggle source
Delete a reserved domain.
ngrok.com/docs/api#api-reserved-domains-delete
# File lib/ngrokapi/models/reserved_domain.rb, line 58 def delete @client.delete( id: @id ) end
to_h()
click to toggle source
# File lib/ngrokapi/models/reserved_domain.rb, line 50 def to_h @attrs.to_h end
to_s()
click to toggle source
# File lib/ngrokapi/models/reserved_domain.rb, line 46 def to_s @attrs.to_s end