you_got_listed 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -6,7 +6,7 @@ You must have access to the YouGotListings API via an api key.
6
6
 
7
7
  Currently the gem supports a subset of the full YouGotListings api and is READ-ONLY wrapper with the exception of creating Leads.
8
8
 
9
- YouGotListings API documentation can be found here: http://www.yougotlistings.com/wiki/index.php/Developers
9
+ YouGotListings API documentation can be found here: http://support.yougotlistings.com/knowledgebase/articles/224954-ygl-api-general-info
10
10
 
11
11
 
12
12
  == Installation
@@ -15,7 +15,7 @@ YouGotListings API documentation can be found here: http://www.yougotlistings.co
15
15
 
16
16
  In a rails 3 app
17
17
 
18
- gem 'you_got_listed', '~> 0.6.1'
18
+ gem 'you_got_listed', '~> 0.6.2'
19
19
 
20
20
  In a rails 2.3.x app (0.2.x only)
21
21
 
@@ -11,6 +11,22 @@ module YouGotListed
11
11
  self.http_timeout = http_timeout
12
12
  self.class.default_params :key => api_key
13
13
  end
14
+
15
+ def listings
16
+ @listings ||= YouGotListed::Listings.new(self)
17
+ end
18
+
19
+ def leads
20
+ @leads ||= YouGotListed::Lead.new(self)
21
+ end
22
+
23
+ def agents
24
+ @agents ||= YouGotListed::Agent.new(self)
25
+ end
26
+
27
+ def accounts
28
+ @agents ||= YouGotListed::Accounts.new(self)
29
+ end
14
30
 
15
31
  def perform_request(http_method, path, params = {})
16
32
  begin
@@ -1,3 +1,3 @@
1
1
  module YouGotListed
2
- VERSION = '0.6.1'
2
+ VERSION = '0.6.2'
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 1
9
- version: 0.6.1
8
+ - 2
9
+ version: 0.6.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tom Cocca