class LocalCallingGuide::Distance
Public Class Methods
rc_dist(npa1, nxx1, npa2, nxx2)
click to toggle source
# File lib/localcallingguide.rb, line 44 def self.rc_dist(npa1, nxx1, npa2, nxx2) dist_data = LocalCallingGuide.get_results("http://www.localcallingguide.com/xmlrcdist.php?npa1=#{npa1}&nxx1=#{nxx1}&npa2=#{npa2}&nxx2=#{nxx2}") dist_data['rcdist'] end