Class: Jpmobile::Mobile::IpAddresses::Docomo

Inherits:
AbstractIpAddresses show all
Defined in:
lib/jpmobile/mobile/ip_addresses/docomo.rb

Class Method Summary collapse

Methods inherited from AbstractIpAddresses

#valid_ip?

Class Method Details

.ip_address_listObject



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/jpmobile/mobile/ip_addresses/docomo.rb', line 6

def ip_address_list
  @@ip_address_list ||= [
    "210.153.84.0/24",
    "210.136.161.0/24",
    "210.153.86.0/24",
    "124.146.174.0/24",
    "124.146.175.0/24",
    "202.229.176.0/24",
    "202.229.177.0/24",
    "202.229.178.0/24"
  ].map {|ip| IPAddr.new(ip)}
end