oodle 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.markdown +1 -1
  2. data/lib/oodle.rb +1 -1
  3. metadata +2 -2
@@ -24,7 +24,7 @@ key](http://developer.oodle.com/request-api-key) to get started.
24
24
  oodle.category = 'sale'
25
25
  oodle.num = '15'
26
26
  oodle.sort = 'ctime_reverse'
27
- results = oodle.fetch_listings(:json)
27
+ results = oodle.fetch_listings
28
28
  num = results['current']['num']
29
29
  listings = results['listings']
30
30
  (0..num-1).each { |i| p listings[i]['title'] }
@@ -49,7 +49,7 @@ module Oodle
49
49
  @attributes = []
50
50
  @refinements = []
51
51
  @exclude_sources = []
52
- @format = RESPONSE_FORMATS[:xml]
52
+ @format = RESPONSE_FORMATS[:json]
53
53
  end
54
54
 
55
55
  # A convience method to do actual http pulls
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 2
9
- version: 1.1.2
8
+ - 3
9
+ version: 1.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Kristan 'Krispy' Uccello