sugarcrm 0.6.0 → 0.6.1

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.rdoc +10 -7
  2. data/VERSION +1 -1
  3. metadata +3 -3
data/README.rdoc CHANGED
@@ -6,7 +6,7 @@ REST Bindings for SugarCRM!
6
6
 
7
7
  == SUMMARY:
8
8
 
9
- Ruby Gem for interacting with SugarCRM via REST.
9
+ RubyGem for interacting with SugarCRM via REST.
10
10
 
11
11
  == Description:
12
12
 
@@ -16,14 +16,20 @@ objects. Some of this functionality is included today.
16
16
 
17
17
  == FEATURES/PROBLEMS:
18
18
 
19
- * Auto-generation of Module specific objects. When a connection is established, get_available_modules is called
20
- and the resultant modules are turned into SugarCRM::Module classes.
19
+ * Auto-generation of Module specific objects. When a connection is established, get_available_modules is called and the resultant modules are turned into SugarCRM::Module classes.
21
20
  * If you just want to use the vanilla API, you can access the methods directly on the connection object.
22
21
 
23
22
  == SYNOPSIS:
24
23
 
25
24
  require 'sugarcrm'
26
- sugarcrm = SugarCRM::Base.new("http://localhost/sugarcrm", 'user', 'password', {:debug => false})
25
+ # Establish a connection
26
+ sugarcrm = SugarCRM::Base.establish_connection("http://localhost/sugarcrm", 'user', 'password', {:debug => false})
27
+
28
+ # Retrieve a user by ID, using the SugarCRM::User Proxy object
29
+ SugarCRM::User.find(id)
30
+
31
+ # Show a list of available modules
32
+ sugarcrm.connection.modules
27
33
 
28
34
  # Lookup a user by name. Find any associated accounts
29
35
  sugarcrm.connection.get_entry_list(
@@ -40,9 +46,6 @@ and the resultant modules are turned into SugarCRM::Module classes.
40
46
  }
41
47
  )
42
48
 
43
- # Retrieve a user by ID, using the SugarCRM::User Proxy object
44
- user = SugarCRM::User.find(id)
45
-
46
49
  == REQUIREMENTS:
47
50
 
48
51
  * activesupport gem
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.0
1
+ 0.6.1
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sugarcrm
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 0
10
- version: 0.6.0
9
+ - 1
10
+ version: 0.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Carl Hicks