interfax 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 721e1f5a011b76e48aa02ff68d9b38c63f5949f0
4
- data.tar.gz: 8567346eee96bd541e2b006cf97d9088b81cc042
3
+ metadata.gz: d294e821fce170d8c40efeca152aa0f490eb567e
4
+ data.tar.gz: 099bd020ef2e65f9673475cbeec4868ceae70b44
5
5
  SHA512:
6
- metadata.gz: fc9ceefc4ca5c51c21d5a026d259a7172cfd4133e7ecafa5644db7b0eafe5ba750441de88f70112820bca64337fb57d02ffd19e740e990987cba478912941e48
7
- data.tar.gz: 09471073db3a66ab250b303482f8591ef1da09ef4a99c9008c3a24bd181a054a00a3f71413dfa188cdb12bcc4035b7f1b2ded3b10ef15598eb2b8b3f38600b1a
6
+ metadata.gz: 7d2deadcb67d1c753df38456224cbf06ffe6eddb35e7d1481b9693d67c1f7d5f6ee2a1c27437bd381ed1ca23252bb35be0e46f03dcc43c4f1dfd95ee07c54dab
7
+ data.tar.gz: d32542d6f649c3ccdf497fa229e6ee43ed28532204abcfb67a9a55a86bfc3ba81c46b5d6f5fd9cc9e40bf67fd7cea81b054108ef7c7b29bab21a29b38042b01c
data/README.md CHANGED
@@ -161,7 +161,7 @@ interfax.outbound.find(123456)
161
161
 
162
162
  ----
163
163
 
164
- ### Get oubound fax image
164
+ ### Get outbound fax image
165
165
 
166
166
  `interfax.outbound.image(fax_id)`
167
167
 
@@ -188,7 +188,7 @@ Cancel a fax in progress.
188
188
 
189
189
  ```ruby
190
190
  interfax.outbound.cancel(123456)
191
- => #<InterFAX::Outbound::Fax>
191
+ => true
192
192
  ```
193
193
 
194
194
  **More:** [documentation](https://www.interfax.net/en/dev/rest/reference/2939)
@@ -43,9 +43,8 @@ class InterFAX::Outbound
43
43
  end
44
44
 
45
45
  def cancel fax_id
46
- fax = @client.get("/outbound/faxes/#{fax_id}/cancel")
47
- fax[:client] = @client
48
- InterFAX::Outbound::Fax.new(fax)
46
+ fax = @client.post("/outbound/faxes/#{fax_id}/cancel")
47
+ true
49
48
  end
50
49
 
51
50
  def search params = {}
@@ -1,3 +1,3 @@
1
1
  module InterFAX
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: interfax
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - InterFAX
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-09 00:00:00.000000000 Z
12
+ date: 2016-08-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mimemagic