Class: Ansible::Ruby::Modules::Ipinfoio_facts

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/net_tools/ipinfoio_facts.rb

Overview

Gather IP geolocation facts of a host's IP address using ipinfo.io API

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#http_agent ⇒ String?

Returns Set http user agent.

Returns:

  • (String, nil) —

    Set http user agent



16
# File 'lib/ansible/ruby/modules/generated/net_tools/ipinfoio_facts.rb', line 16

attribute :http_agent

#timeout ⇒ Integer?

Returns HTTP connection timeout in seconds.

Returns:

  • (Integer, nil) —

    HTTP connection timeout in seconds



12
# File 'lib/ansible/ruby/modules/generated/net_tools/ipinfoio_facts.rb', line 12

attribute :timeout