homeaway-api 1.4.0 → 1.4.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: 60c98fd150724b6034d387b6b480432c3ad08621
4
- data.tar.gz: 64d307f25982cc934ad681a80250838c7c9b7487
3
+ metadata.gz: d099f1551757d6494d4cae1249ef6a7762746c28
4
+ data.tar.gz: 14aedb76ab9d9ec47fc453ca5aea228bc9a16931
5
5
  SHA512:
6
- metadata.gz: febde1f040afbd5a007af84154ca249a57fdcc86a31f6babbeef0843e363902776ac5a0b2cec461d742e5a9b837cfcd15b3fb73a80e053a50f9e0fa8ae614205
7
- data.tar.gz: b4815e63411c125c5660e3583c522c25a2b0326ce10e85220160979d4f9c1f6558e96e8826528c19b26d5da6be1736185e4b6fc8da59c07effd7d99b37cbe539
6
+ metadata.gz: 75834e85fd8629a6e867d74c6a3eecbe07e641bbc6cb03d3be4969867d545ed0776bfc52bc1be31f64014399232933f1c466ed3719bd159cfd080b8b69ca9d6c
7
+ data.tar.gz: b8461bd1783e5c57a6114b97b0052fd5c908f62658f73b3dc17ea4cc67644aad1b538b6ef62a1d6d9271a57a196249ae9a4fcdec616e94f1c2e424535383c930
@@ -27,9 +27,11 @@ module HomeAway
27
27
  #
28
28
  # @param id [String] The id of the listing.
29
29
  # @option opts [String] :q Use the q parameter to fetch specific listing details. Valid options are AVAILABILITY, DETAILS, LOCATIONS, PHOTOS, RATES, REVIEWS. If no value is given, the listing is returned with minimal content. Can be an array of multiple values.
30
+ # @option opts [String] :l Use the l parameter to specify the locale. For example: 'fr'
30
31
  # @return [HomeAway::API::Response] the result of the call to the API
31
- def listing(id, q=nil)
32
+ def listing(id, q=nil, l=nil)
32
33
  params = {'id' => id.to_s}
34
+ params['locale'] = l unless l == nil
33
35
  params['q'] = HomeAway::API::Util::Validators.array(q) unless q == nil
34
36
  get '/public/listing', HomeAway::API::Util::Validators.query_keys(params)
35
37
  end
@@ -15,6 +15,6 @@
15
15
 
16
16
  module HomeAway
17
17
  module API
18
- VERSION = '1.4.0'
18
+ VERSION = '1.4.1'
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: homeaway-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie Meyer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-23 00:00:00.000000000 Z
11
+ date: 2017-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie
@@ -361,7 +361,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
361
361
  version: '0'
362
362
  requirements: []
363
363
  rubyforge_project:
364
- rubygems_version: 2.6.6
364
+ rubygems_version: 2.6.8
365
365
  signing_key:
366
366
  specification_version: 4
367
367
  summary: Ruby SDK for interacting with the HomeAway API