almapi 0.1.13 → 0.1.14

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: 0f947e973e62d06727b5f2dd1f522460e2ce4e69296befd91aa9f0b8d8c11640
4
- data.tar.gz: 8d8e505867b5411431aca8e6ffc6496cf50c3c64aa5cde7ac83da7ab9fadb0b3
3
+ metadata.gz: b583eab87ae84d520b3ea4e9e7751338240e34dfab0dc2e4a1b8c79a47ad4b4f
4
+ data.tar.gz: 194b63c90551827de9223d87101e405c7dcd0a1deaab10c8b533376d9e885892
5
5
  SHA512:
6
- metadata.gz: 0c6b8f99ff89947a74117a8472a00a74b2235a17bfbd8f8c10d2bb2d6aee4bf95ded0589de7a5bcd90f537c18df0eea7c7dfe22022af9709e9adb90e6e44e7bd
7
- data.tar.gz: b4fb7018278683c408136237eeb657a637782661a2ef6600e993577af467f73b499f5da8a7b402e73ca573de4959ae435c65dca4bf0b17d6beb63162f6037a02
6
+ metadata.gz: 684c21017a843823c207493916369211df8c826e53e3f24a91bd779381f2864fee76889d89e982e2ea7a9cd014bb91361b582c9c09da8e6efdd7973e5ac77dbb
7
+ data.tar.gz: 5484e804fc5015968ecbc14e4452820b9a22d75f45ce37c35cb72e42ebbe811c029fe9453fbc5872e487c9bb64b47ce24ee82d89111a08ef26f290ef6ed6ad7d
data/lib/almapi/almapi.rb CHANGED
@@ -109,7 +109,7 @@ module Almapi
109
109
  # @return [Response || AlmapiError] : the resulting response if the API call succeeded, else AlmapiError
110
110
  def handle_response(response, method)
111
111
  case response.status
112
- when 200
112
+ when 200, 204
113
113
  # Success
114
114
  response
115
115
  else
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Almapi
4
- VERSION = "0.1.13"
4
+ VERSION = "0.1.14"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: almapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - jszenb