Class: Ansible::Ruby::Modules::Ipify_facts

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/network/ipify_facts.rb

Overview

If behind NAT and need to know the public IP of your internet gateway.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#api_urlString?

Returns URL of the ipify.org API service.,C(?format=json) will be appended per default.

Returns:

  • (String, nil)

    URL of the ipify.org API service.,C(?format=json) will be appended per default.



11
# File 'lib/ansible/ruby/modules/generated/extras/network/ipify_facts.rb', line 11

attribute :api_url