Class: EFax::OutboundStatus
Class Method Summary collapse
Methods inherited from Request
account_id, account_id=, password, password=, user, user=
Class Method Details
.post(doc_id) ⇒ Object
137 138 139 140 141 142 143 |
# File 'lib/efax/outbound.rb', line 137 def self.post(doc_id) data = params(xml(doc_id)) response = Net::HTTPS.start(EFax::Uri.host, EFax::Uri.port) do |https| https.post(EFax::Uri.path, data, EFax::HEADERS) end OutboundStatusResponse.new(response) end |