File tree Expand file tree Collapse file tree 5 files changed +28
-9
lines changed Expand file tree Collapse file tree 5 files changed +28
-9
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## [ 1.0.4] ( https://github.com/ShipEngine/shipengine-ruby/compare/v1.0.3...v1.0.4 ) (2024-01-17)
4
4
5
-
6
5
### Bug Fixes
7
6
8
- * change default timeout to 60s ([ 81bfe73] ( https://github.com/ShipEngine/shipengine-ruby/commit/81bfe73feb0abc8a87aedb15e9b3935dd33d4da9 ) )
7
+ - change default timeout to 60s ([ 81bfe73] ( https://github.com/ShipEngine/shipengine-ruby/commit/81bfe73feb0abc8a87aedb15e9b3935dd33d4da9 ) )
9
8
10
9
## [ 1.0.3] ( https://github.com/ShipEngine/shipengine-ruby/compare/v1.0.2...v1.0.3 ) (2023-06-16)
11
10
12
-
13
11
### Bug Fixes
14
12
15
- * Update publish to Gem API Key ([ 3f9c8e5] ( https://github.com/ShipEngine/shipengine-ruby/commit/3f9c8e5eec8147e2fb1b38a114fa0e2ff24a5f9e ) )
13
+ - Update publish to Gem API Key ([ 3f9c8e5] ( https://github.com/ShipEngine/shipengine-ruby/commit/3f9c8e5eec8147e2fb1b38a114fa0e2ff24a5f9e ) )
16
14
17
15
## [ 1.0.4]
18
16
19
17
### Changes
20
18
21
- * increase default timeout from 30s to 60s
19
+ - increase default timeout from 30s to 60s
20
+
21
+ ## [ 1.0.5]
22
+
23
+ ### Changes
24
+
25
+ - Added error code FundingSourceMissingConfiguration
26
+ - Added error code FundingSourceError
Original file line number Diff line number Diff line change 1
1
PATH
2
2
remote: .
3
3
specs:
4
- shipengine_sdk (1.0.4 )
4
+ shipengine_sdk (1.0.5 )
5
5
faraday (>= 1.4 )
6
6
faraday_middleware (>= 1.0 )
7
7
hashie (>= 3.4 )
Original file line number Diff line number Diff line change @@ -247,7 +247,17 @@ def self.get_by_str(str_key)
247
247
## ShipEngine only allows you to have one webhook of each type. If you would
248
248
## like to replace a webhook with a new one please delete the old one fir.
249
249
# #/
250
- WEBHOOK_EVENT_TYPE_CONFLICT : 'webhook_event_type_conflict'
250
+ WEBHOOK_EVENT_TYPE_CONFLICT : 'webhook_event_type_conflict' ,
251
+
252
+ ##
253
+ ## Funding source isnt properly configured and can't be used.
254
+ # #/
255
+ FUNDING_SOURCE_MISSING_CONFIGURATION : 'funding_source_missing_configuration' ,
256
+
257
+ ##
258
+ ## There was an unexpected problem with a funding source.
259
+ # #/
260
+ FUNDING_SOURCE_ERROR : 'funding_source_error'
251
261
} . freeze
252
262
end
253
263
end
Original file line number Diff line number Diff line change @@ -42,7 +42,11 @@ def self.get_by_str(str_key)
42
42
# that has not yet been assigned a specific error_type. If you receive
43
43
# persistent system errors, then please contact our support or check our API
44
44
# status page to see if there's a known issue.
45
- SYSTEM : 'system'
45
+ SYSTEM : 'system' ,
46
+ # General wallet error type.
47
+ WALLET : 'wallet' ,
48
+ # General funding sources error type.
49
+ FUNDING_SOURCES : 'funding_sources'
46
50
} . freeze
47
51
end
48
52
end
Original file line number Diff line number Diff line change 1
1
# frozen_string_literal: true
2
2
3
3
module ShipEngine
4
- VERSION = '1.0.4 '
4
+ VERSION = '1.0.5 '
5
5
end
You can’t perform that action at this time.
0 commit comments