okapi 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -71,13 +71,13 @@ module Apiary
71
71
  res << result.schema_res["errors"][i.to_s]["message"]
72
72
  }
73
73
  else
74
- if not result.header_pass
75
- res << 'Headers does not match'
76
- end
77
74
  if not result.body_pass
78
75
  res << 'Body does not match'
79
76
  end
80
77
  end
78
+ if not result.header_pass
79
+ res << 'Headers does not match'
80
+ end
81
81
  res
82
82
  end
83
83
 
data/lib/okapi/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Apiary
3
3
  module Okapi
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
@@ -22,9 +22,11 @@ GET /shopping-cart/{id}
22
22
  Save new products in your shopping cart
23
23
  POST /shopping-cart/{id2}
24
24
  > Content-Type: application/json
25
+ > CCC: aaa
25
26
  { "product":"1AB23ORM", "quantity": 2 }
26
27
  < 201
27
28
  < Content-Type: application/json
29
+ < CCC: aaa
28
30
  { "status": "created", "url": "/shopping-cart/2" }
29
31
 
30
32
  -- Payment Resources --
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: okapi
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tu1ly