module Fias::Import::DownloadService
Constants
- OPTIONS
Public Class Methods
url()
click to toggle source
# File lib/fias/import/download_service.rb, line 4 def url response = HTTParty.post( 'http://fias.nalog.ru/WebServices/Public/DownloadService.asmx', OPTIONS ) matches = response.body.match(/<FiasCompleteDbfUrl>(.*)<\/FiasCompleteDbfUrl>/) matches[1] if matches end
Private Instance Methods
url()
click to toggle source
# File lib/fias/import/download_service.rb, line 4 def url response = HTTParty.post( 'http://fias.nalog.ru/WebServices/Public/DownloadService.asmx', OPTIONS ) matches = response.body.match(/<FiasCompleteDbfUrl>(.*)<\/FiasCompleteDbfUrl>/) matches[1] if matches end