lib/azure/service_bus/relay.rb in azure-0.7.0 vs lib/azure/service_bus/relay.rb in azure-0.7.1
- old
+ new
@@ -27,11 +27,11 @@
# ==== Options
#
# Accepted key/value pairs in options parameter are:
# * +:relay_type+ - String. Determines the type of the relay endpoint. This is required.
# * +:requires_client_authorization+ - Boolean. Determines whether or not clients need to authenticate when making calls.
- # * +:requires_transport_security+ - Boolean. Determines whether or not the endpoint uses transport security.
+ # * +:requires_transport_security+ - Boolean. Determines whether or not the endpoint uses transport security.
#
def initialize(name, options = {})
normalized_options = {}
normalized_options["RelayType"] = options[:relay_type].to_s
normalized_options["RequiresClientAuthorization"] = options[:requires_client_authorization].to_s if options.has_key?(:requires_client_authorization)
@@ -47,14 +47,14 @@
end
def relay_type=(val)
_set 'RelayType', val
end
-
+
# RequiresClientAuthorization: Boolean
#
- # Determines whether or not clients need to authenticate when making calls.
+ # Determines whether or not clients need to authenticate when making calls.
#
# Default: true
def requires_client_authorization
to_bool description['RequiresClientAuthorization']
end
@@ -63,10 +63,10 @@
_set 'RequiresClientAuthorization', val
end
# RequiresTransportSecurity: Boolean
#
- # Determines whether or not the endpoint uses transport security.
+ # Determines whether or not the endpoint uses transport security.
#
# Default: true
def requires_transport_security
to_bool description['RequiresTransportSecurity']
end
\ No newline at end of file