Class: Naver::Searchad::Api::ClientOptions

Inherits:
Struct
  • Object
show all
Defined in:
lib/naver/searchad/api/options.rb,
lib/naver/searchad/api/options.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#application_nameObject

Returns the value of attribute application_name

Returns:

  • (Object)

    the current value of application_name



10
11
12
# File 'lib/naver/searchad/api/options.rb', line 10

def application_name
  @application_name
end

#application_versionObject

Returns the value of attribute application_version

Returns:

  • (Object)

    the current value of application_version



10
11
12
# File 'lib/naver/searchad/api/options.rb', line 10

def application_version
  @application_version
end

#log_http_requestsObject

Returns the value of attribute log_http_requests

Returns:

  • (Object)

    the current value of log_http_requests



10
11
12
# File 'lib/naver/searchad/api/options.rb', line 10

def log_http_requests
  @log_http_requests
end

#open_timeout_secObject

Returns the value of attribute open_timeout_sec

Returns:

  • (Object)

    the current value of open_timeout_sec



10
11
12
# File 'lib/naver/searchad/api/options.rb', line 10

def open_timeout_sec
  @open_timeout_sec
end

#proxy_urlObject

Returns the value of attribute proxy_url

Returns:

  • (Object)

    the current value of proxy_url



10
11
12
# File 'lib/naver/searchad/api/options.rb', line 10

def proxy_url
  @proxy_url
end

#read_timeout_secObject

Returns the value of attribute read_timeout_sec

Returns:

  • (Object)

    the current value of read_timeout_sec



10
11
12
# File 'lib/naver/searchad/api/options.rb', line 10

def read_timeout_sec
  @read_timeout_sec
end

#send_timeout_secObject

Returns the value of attribute send_timeout_sec

Returns:

  • (Object)

    the current value of send_timeout_sec



10
11
12
# File 'lib/naver/searchad/api/options.rb', line 10

def send_timeout_sec
  @send_timeout_sec
end

Class Method Details

.defaultObject



21
22
23
# File 'lib/naver/searchad/api/options.rb', line 21

def self.default
  @options ||= ClientOptions.new
end