Class: Google::Apis::ClientOptions
- Inherits:
-
Struct
- Object
- Struct
- Google::Apis::ClientOptions
- Defined in:
- lib/google/apis/options.rb,
lib/google/apis/options.rb
Overview
General client options
Instance Attribute Summary collapse
-
#application_name ⇒ String
Name of the application, for identification in the User-Agent header.
-
#application_version ⇒ String
Version of the application, for identification in the User-Agent header.
-
#proxy_url ⇒ String
URL of a proxy server.
-
#use_net_http ⇒ Object
Returns the value of attribute use_net_http.
Class Method Summary collapse
-
.default ⇒ Google::Apis::ClientOptions
Get the default options.
Instance Attribute Details
#application_name ⇒ String
Returns Name of the application, for identification in the User-Agent header.
18 19 20 |
# File 'lib/google/apis/options.rb', line 18 def application_name @application_name end |
#application_version ⇒ String
Returns Version of the application, for identification in the User-Agent header.
18 19 20 |
# File 'lib/google/apis/options.rb', line 18 def application_version @application_version end |
#proxy_url ⇒ String
Returns URL of a proxy server.
18 19 20 |
# File 'lib/google/apis/options.rb', line 18 def proxy_url @proxy_url end |
#use_net_http ⇒ Object
Returns the value of attribute use_net_http
18 19 20 |
# File 'lib/google/apis/options.rb', line 18 def use_net_http @use_net_http end |
Class Method Details
.default ⇒ Google::Apis::ClientOptions
Get the default options
42 43 44 |
# File 'lib/google/apis/options.rb', line 42 def self.default @options ||= ClientOptions.new end |