lib/google/cloud/pubsub/subscription/push_config.rb in google-cloud-pubsub-1.6.0 vs lib/google/cloud/pubsub/subscription/push_config.rb in google-cloud-pubsub-1.6.1
- old
+ new
@@ -50,20 +50,20 @@
@grpc = Google::Cloud::PubSub::V1::PushConfig.new
end
##
# A URL locating the endpoint to which messages should be pushed. For
- # example, a Webhook endpoint might use "https://example.com/push".
+ # example, a Webhook endpoint might use `https://example.com/push`.
#
# @return [String]
def endpoint
@grpc.push_endpoint
end
##
# Sets the URL locating the endpoint to which messages should be
# pushed. For example, a Webhook endpoint might use
- # "https://example.com/push".
+ # `https://example.com/push`.
#
# @param [String, nil] new_endpoint New URL value
def endpoint= new_endpoint
@grpc.push_endpoint = String new_endpoint
end