correios_sigep 2.0.0 → 2.1.0

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: 85b92be1bc69bfaf584b2189929f7bcdb9b9eea2
4
- data.tar.gz: 45ec9534a9adebaef05490913cb1528231edeb41
3
+ metadata.gz: 675b360c33141f9e0cee600cf3a4177f5084f97d
4
+ data.tar.gz: 002ce71a0a4bf0bfc51e1709e5389f5c9965605e
5
5
  SHA512:
6
- metadata.gz: b6133289b2d5fa2d63474603a93919544c397ec7671d63077453f80c4850d7bc53e87abf140d7d0ff3545d02882ebc80ec060f48c22c8198ad527aa8bfb28641
7
- data.tar.gz: cd19948cd68d1b77e4513f4f2132368850a1dd5b04afca72f6373cc4e1f28d6c4bafa0d95b98124e69073abfe544b67ed5af8a077801432887772c6276fcddb9
6
+ metadata.gz: 9f9fc06b0b12112c087f023418b97387ebddb2d3545e6ca8159a0bf7259027b2de1eebaf0b1ef56636e212b79dce947cb17dddad8a923c602b433d7e03034bba
7
+ data.tar.gz: 6ef1435f1c4382a86dc92bb5354453cf07a56d46d1b459db6016bfa09b15825a211102bef2dec35d332ac75bb5237af44427dd19fe13cfaf54f5dc74007f61e4
@@ -22,7 +22,8 @@ module CorreiosSigep
22
22
  Models::CorreiosResponseCodes::COLLECT_NOT_ANSWERED_FOR_THE_ZIPCODE => Models::Errors::CollectNotAnsweredForTheZipcode,
23
23
  Models::CorreiosResponseCodes::NOT_CONFIGURED_CLIENT => Models::Errors::NotConfiguredClient,
24
24
  Models::CorreiosResponseCodes::INVALID_CONTRACT => Models::Errors::InvalidContract,
25
- Models::CorreiosResponseCodes::INVALID_DECLARED_VALUE => Models::Errors::InvalidDeclaredValue
25
+ Models::CorreiosResponseCodes::INVALID_DECLARED_VALUE => Models::Errors::InvalidDeclaredValue,
26
+ Models::CorreiosResponseCodes::LOW_DECLARED_VALUE => Models::Errors::LowDeclaredValue
26
27
  }
27
28
  end
28
29
 
@@ -24,6 +24,7 @@ module CorreiosSigep
24
24
  autoload :UnavailableService, 'correios_sigep/models/errors/unavailable_service'
25
25
  autoload :InvalidContract, 'correios_sigep/models/errors/invalid_contract'
26
26
  autoload :InvalidDeclaredValue, 'correios_sigep/models/errors/invalid_declared_value'
27
+ autoload :LowDeclaredValue, 'correios_sigep/models/errors/low_declared_value'
27
28
  autoload :UnknownError, 'correios_sigep/models/errors/unknown_error'
28
29
  end
29
30
  end
@@ -10,6 +10,7 @@ module CorreiosSigep
10
10
  NOT_CONFIGURED_CLIENT = 105
11
11
  INVALID_CONTRACT = 109
12
12
  INVALID_DECLARED_VALUE = 205
13
+ LOW_DECLARED_VALUE = 211
13
14
  end
14
15
  end
15
16
  end
@@ -0,0 +1,8 @@
1
+ module CorreiosSigep
2
+ module Models
3
+ module Errors
4
+ class LowDeclaredValue < StandardError
5
+ end
6
+ end
7
+ end
8
+ end
@@ -1,3 +1,3 @@
1
1
  module CorreiosSigep
2
- VERSION = '2.0.0'.freeze
2
+ VERSION = '2.1.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: correios_sigep
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Ribeiro
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-25 00:00:00.000000000 Z
12
+ date: 2017-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: net-http-persistent
@@ -206,6 +206,7 @@ files:
206
206
  - lib/correios_sigep/models/errors/invalid_contract.rb
207
207
  - lib/correios_sigep/models/errors/invalid_declared_value.rb
208
208
  - lib/correios_sigep/models/errors/invalid_solicitation.rb
209
+ - lib/correios_sigep/models/errors/low_declared_value.rb
209
210
  - lib/correios_sigep/models/errors/not_configured_client.rb
210
211
  - lib/correios_sigep/models/errors/required_fields.rb
211
212
  - lib/correios_sigep/models/errors/sro_not_ready.rb