discountnetwork 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/lib/discountnetwork/testing/discountnetwork_api.rb +2 -1
- data/lib/discountnetwork/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e05dfcc2188e93cee3e118ab12ce66b0de8f13ed
|
4
|
+
data.tar.gz: 00b36d16ec5dd7dc84ed5538e7ff4cd915dce61b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e234c0ed5f5eab08b2d4257804d8010866b6c7dfd71713a56578085ca65939cf61746fb011e7f86c6396e3dee30c73639546d7d8ac082c9e7123365cd004c6e
|
7
|
+
data.tar.gz: 12f37c0c04a0087e6388f08ddcdfb3edfdfd516e908823eb2f4ff12848eafa65d57060737538904c24ff51a14ca55a97c5bf053ebf0de1e5d26b658c3807479a
|
data/README.md
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
Status](https://travis-ci.org/discountnetwork/discountnetwork-ruby.svg?branch=master)](https://travis-ci.org/discountnetwork/discountnetwork-ruby)
|
5
5
|
[![Code
|
6
6
|
Climate](https://codeclimate.com/github/discountnetwork/discountnetwork-ruby/badges/gpa.svg)](https://codeclimate.com/github/discountnetwork/discountnetwork-ruby)
|
7
|
+
[![Gem
|
8
|
+
Version](https://badge.fury.io/rb/discountnetwork.svg)](https://badge.fury.io/rb/discountnetwork)
|
7
9
|
|
8
10
|
Ruby API client for Discount Network API
|
9
11
|
|
@@ -12,7 +14,7 @@ Ruby API client for Discount Network API
|
|
12
14
|
Add this line to your application's Gemfile:
|
13
15
|
|
14
16
|
```ruby
|
15
|
-
gem "discountnetwork",
|
17
|
+
gem "discountnetwork", "~> 0.1.1"
|
16
18
|
```
|
17
19
|
|
18
20
|
And then execute:
|
@@ -44,10 +44,11 @@ module DiscountNetworkApi
|
|
44
44
|
)
|
45
45
|
end
|
46
46
|
|
47
|
-
def stub_search_results_api(search_id
|
47
|
+
def stub_search_results_api(search_id:, **attributes)
|
48
48
|
stub_api_response(
|
49
49
|
:get,
|
50
50
|
["searches", search_id, "results"].join("/"),
|
51
|
+
data: attributes,
|
51
52
|
filename: "results",
|
52
53
|
status: 200
|
53
54
|
)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: discountnetwork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abu Nashir
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|