emarsys-api 0.6.0 → 0.6.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: 8dafc40db0ca328bfc16a199acf7b94f4419679c
4
- data.tar.gz: 808c9b599f64dbe2a96e853127ceea88725e81cd
3
+ metadata.gz: '02834cd454923b9c4b85d1af99b7adb9682edbd2'
4
+ data.tar.gz: b309dd570291bb3304e105d3a9375eb34ac7a7ae
5
5
  SHA512:
6
- metadata.gz: 247b3521edf16f7804e1ac8ffbafa3a819cf9accec8aa8a4ec17e4463f452779a7bd2fdb4e2a3b21b24d3ca523d7b03a4259d90a97822a23e4c94e951e5c634c
7
- data.tar.gz: 7044fcea31b7892c648cc78045f5ca71ad720eeb3f7113f81ba3045adf3ddcda39a6f1955117ab936ef56f1310f07a96071e26fb17831a38cdaee821923fb5e7
6
+ metadata.gz: de7a836cd0e7bfcb73732eed7204666a38f042c3c60ecbc802f91a64f5a8c6a9ab2143e6a4ebbf7b8e8d3d2055c5169d0d27850ef948b4c66e22145015623a3f
7
+ data.tar.gz: 5a83e4635c43eeaabac9094deec9eea216c210a48ef196a0e4e5494cdd0b763db42c88ac950284eb4fb31a0b49019ff8cbaf9124c44b74ae05fdd17140aa8ec6
@@ -0,0 +1 @@
1
+ 2.4.2
@@ -8,6 +8,10 @@ module Emarsys
8
8
  @error_code = error_code
9
9
  @reply_code = reply_code
10
10
  end
11
+
12
+ def as_json(*_args)
13
+ { message: message, error_code: error_code, reply_code: reply_code }
14
+ end
11
15
  end
12
16
 
13
17
  class RecoverableError < Error
@@ -1,5 +1,5 @@
1
1
  module Emarsys
2
2
  module Api
3
- VERSION = '0.6.0'.freeze
3
+ VERSION = '0.6.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emarsys-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Istvan Demeter
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-08 00:00:00.000000000 Z
11
+ date: 2017-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: escher-keypool
@@ -146,6 +146,7 @@ files:
146
146
  - ".gitignore"
147
147
  - ".rspec"
148
148
  - ".rubocop.yml"
149
+ - ".ruby-version"
149
150
  - ".travis.yml"
150
151
  - CODE_OF_CONDUCT.md
151
152
  - Gemfile