salestation 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/salestation/web.rb +1 -0
- data/lib/salestation/web/responses.rb +2 -0
- data/salestation.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bceb665efc56da15d2a5ef0523bb99b6d54ee68abf99530262f4c6c90bbd345f
|
4
|
+
data.tar.gz: 2c8257fe1fb5c5f851c4c11d832517b3eafe4223ea225cd2aad30bf030de8557
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67853444ea1fa18ea9c0e57d4088435de7a5b36319cd2a0cf865207450d997af66065765fa2b500845400b5def00a4a485fd2a2d73dd45391f60cd459d0fb4da
|
7
|
+
data.tar.gz: 7d6f38b300d2edcb25f23cabeecc3f5c9ac63f69da7174e6119bf37c3407d4bf62d2a67c01e974c6d542c9d5ab62981639556e3bc5a7142f2aca3c107178fabc
|
data/lib/salestation/web.rb
CHANGED
@@ -32,6 +32,7 @@ module Salestation
|
|
32
32
|
attribute :message, Types::Strict::String
|
33
33
|
attribute :debug_message, Types::String.default('')
|
34
34
|
attribute :context, Types::Hash.default({})
|
35
|
+
attribute :headers, Types::Hash.default({})
|
35
36
|
|
36
37
|
def body
|
37
38
|
{message: message, debug_message: debug_message}
|
@@ -41,6 +42,7 @@ module Salestation
|
|
41
42
|
class Success < Response
|
42
43
|
attribute :status, Types::Strict::Integer
|
43
44
|
attribute :body, Types::Strict::Hash | Types::Strict::Array
|
45
|
+
attribute :headers, Types::Hash.default({})
|
44
46
|
end
|
45
47
|
|
46
48
|
class UnprocessableEntityFromSchemaErrors
|
data/salestation.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: salestation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SaleMove TechMovers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|