freshdesk-rest 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: 394a55a960dbb9c025433280ac0bf10af236fd6a906cf1bf73b1bb62f86a29cf
4
- data.tar.gz: abdb406579b32f600ab6942e00551e16985fe9ec3c802aaf126c7bfd3461e2db
3
+ metadata.gz: 1bde748f52273cf54e725cb9f05209ac262bf06afb947a869568d4d8ebfb36de
4
+ data.tar.gz: 420a6b5ec5952b3f0be6d7887b32d4c866cd9aadc488cd4f37d8c6a0f5fe6dc0
5
5
  SHA512:
6
- metadata.gz: 5a40a5742dac07194f58cad09736ef0839df64d30e54a1544f4b0bbcd5e57e9b7b74a2b4614b1e81a3fc77f25354ecbdc3c6bdd4e7c4b0b36673b2bd4a69f11d
7
- data.tar.gz: a3cc3492811d5fad0c3a1593ad7d26bef2c61d634ad7076ac4d4240f0f0c107e85d8a4c29a7555cdaddbe0a828b306eb8f0c7b66e1bf833bdf149f5014097c26
6
+ metadata.gz: 82381340fa9fe237cd9efc09d88315346974dd0878ce2fb3d4829a81522b28d89f7f8064376f2db676610316faeb39fbc54d224b2a49df9d1733b96071bbbd96
7
+ data.tar.gz: 0b049d453b6432077f21ec84e3e5ac0f2786a3366df35444f1924e83b1ce9dcfb9e4d04ac71ba1975d4d21fff54cc68853d9c439b7cd7c7e32605c2974ea5ea8
@@ -9,9 +9,6 @@ module Freshdesk
9
9
 
10
10
  def get(path)
11
11
  resource(path).get.body
12
- rescue @client::ExceptionWithResponse => e
13
- return '[]' if e.response.code == 404
14
- raise e
15
12
  end
16
13
 
17
14
  def post(path, data)
@@ -1,5 +1,5 @@
1
1
  module Freshdesk
2
2
  module Rest
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: freshdesk-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helpling
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-14 00:00:00.000000000 Z
11
+ date: 2019-01-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A ruby gem to interact with Freshdesk REST resources
14
14
  email: tech@helpling.com