@seahorse.client.option [String] :endpoint
The HTTP or HTTPS endpoint to send requests to. For example: 'example.com' 'http://example.com' 'https://example.com' 'http://example.com:123' This must include the host. It may also include the scheme and port. When the scheme is not set it defaults to `https`.
# File lib/seahorse/client/plugins/endpoint.rb, line 21 def after_initialize(client) endpoint = URI.parse(client.config.endpoint.to_s) if URI::HTTPS === endpoint or URI::HTTP === endpoint client.config.endpoint = endpoint else msg = 'expected :endpoint to be a HTTP or HTTPS endpoint' raise ArgumentError, msg end end