Method: TaxinvoiceService#getURL

Defined in:
lib/popbill/taxinvoice.rb

#getURL(corpNum, togo, userID = "") ⇒ Object



24
25
26
27
28
29
# File 'lib/popbill/taxinvoice.rb', line 24

def getURL(corpNum, togo, userID = "")
  if corpNum.length != 10
    raise PopbillException.new('-99999999', '사업자등록번호가 올바르지 않습니다.')
  end
  httpget("/Taxinvoice/?TG=" + togo, corpNum, userID)['url']
end