popbill 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/popbill/fax.rb +7 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b792e56dc490946b141acc5ec89ddfaa0c487761
|
4
|
+
data.tar.gz: a194a25c05f7a59b73c1404165de53cc093fc9b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d5f478ec224d34f5356c0485495e4c5ea25c499f06abb24b4923d9d3bdd953d2bcdada40d1182fc7f0337f5918057b7f8084f63402a673aaa450302889d80f2
|
7
|
+
data.tar.gz: ecddfd6aeac5cd29b3bd5ce6c274a883f635d437a710a30b0d6e8830528c5c83d66aba798dda86f5124ef186a009c08f24f9b0794f3811d13776014fdaebca7c
|
data/lib/popbill/fax.rb
CHANGED
@@ -65,7 +65,7 @@ class FaxService < BaseService
|
|
65
65
|
end
|
66
66
|
|
67
67
|
def sendFax(corpNum, senderNum, senderName, receiverNum, receiverName, filePath,
|
68
|
-
reserveDT = '', userID = '')
|
68
|
+
reserveDT = '', userID = '', adsYN = false)
|
69
69
|
if corpNum.length != 10
|
70
70
|
raise PopbillException.new(-99999999, "사업자등록번호가 올바르지 않습니다.")
|
71
71
|
end
|
@@ -77,11 +77,11 @@ class FaxService < BaseService
|
|
77
77
|
}
|
78
78
|
]
|
79
79
|
|
80
|
-
sendFax_multi(corpNum, senderNum, senderName, receiver, filePath, reserveDT, userID)
|
80
|
+
sendFax_multi(corpNum, senderNum, senderName, receiver, filePath, reserveDT, userID, adsYN)
|
81
81
|
end
|
82
82
|
|
83
83
|
def sendFax_multi(corpNum, senderNum, senderName, receivers, filePaths,
|
84
|
-
reserveDT = '', userID = '')
|
84
|
+
reserveDT = '', userID = '', adsYN = false)
|
85
85
|
if corpNum.length != 10
|
86
86
|
raise PopbillException.new(-99999999, "사업자등록번호가 올바르지 않습니다.")
|
87
87
|
end
|
@@ -93,6 +93,10 @@ class FaxService < BaseService
|
|
93
93
|
postData["sndDT"] = reserveDT
|
94
94
|
postData["rcvs"] = receivers
|
95
95
|
|
96
|
+
if adsYN
|
97
|
+
postData["adsYN"] = adsYN
|
98
|
+
end
|
99
|
+
|
96
100
|
httppostfile("/FAX", corpNum, postData, filePaths, userID)['receiptNum']
|
97
101
|
end
|
98
102
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: popbill
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Linkhub Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: linkhub
|