zumata 0.0.2 → 0.0.3

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: fae9db9329572abb06c48e7e61ae5731ba87983a
4
- data.tar.gz: 56cf1d78d47d19c41ab232af68ee75e12b6193ad
3
+ metadata.gz: c728ece5dd181c10694ba630574588fdb15183c2
4
+ data.tar.gz: 7c1971921aba9acfa290830bec7a22c630139b20
5
5
  SHA512:
6
- metadata.gz: 1a4e2243b8d2ec44e4ca8eec597127566ecbae9314624c29a7c05a3686f066da7d845a9686f3a0a6a20578ccc218362b493efb00abb3bb9581f087cd31e8446c
7
- data.tar.gz: b70e448b490ec57c7db72f243e4d39dcb1d188c5af7d2ef4fb39ef4ee5b6179eca7d86977d632cba555e38c1d6f88550a9a5e6627431e88bbf37a94ab537df4a
6
+ metadata.gz: bc3242832f1ed303134de736028f35f60031ba745b627f7782437140e8f0030a80420ce19fdf0fc2c8b92d5dfde7bf4dd4346957a46bba5b542b58313b5a9427
7
+ data.tar.gz: bac3373487a0c1a544eb36e70ef5194e0a4ce120ac743e737a6f911d3889dc022ad046c70b337cf40f519192dbb8448bc2bc2c217813c63ea1560969708831e1
data/README.md CHANGED
@@ -3,9 +3,17 @@
3
3
  For interaction with the Zumata API 2.0
4
4
  http://developer.zumata.com/doc/zumata-api-2-0-documentation
5
5
 
6
+ ## Configuration
7
+ ```
8
+ Zumata.configure do |config|
9
+ config.api_url = "http://api.zumata.com"
10
+ config.api_key = "YOUR_SECRET_API_KEY"
11
+ end
12
+ ```
13
+
6
14
  ## Contributing
7
15
 
8
- 1. Fork it ( https://github.com/[my-github-username]/zumata/fork )
16
+ 1. Fork it ( https://github.com/Zumata/ruby-client/fork )
9
17
  2. Create your feature branch (`git checkout -b my-new-feature`)
10
18
  3. Commit your changes (`git commit -am 'Add some feature'`)
11
19
  4. Push to the branch (`git push origin my-new-feature`)
data/lib/zumata/client.rb CHANGED
@@ -54,6 +54,7 @@ module Zumata
54
54
 
55
55
  body_params = { api_key: opts[:api_key] || get_api_key,
56
56
  booking_key: booking_key,
57
+ affiliate_key: opts[:affiliate_key],
57
58
  guest: guest,
58
59
  payment: payment }
59
60
 
@@ -1,3 +1,3 @@
1
1
  module Zumata
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zumata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Gomez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-24 00:00:00.000000000 Z
11
+ date: 2014-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler