viadeo 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/Gemfile +4 -0
  2. data/Gemfile.lock +43 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +55 -0
  5. data/Rakefile +28 -0
  6. data/fixtures/vcr_cassettes/newsfeed/retrieve.yml +114 -0
  7. data/fixtures/vcr_cassettes/recommend/create.yml +43 -0
  8. data/fixtures/vcr_cassettes/recommend/retrieve.yml +56 -0
  9. data/fixtures/vcr_cassettes/reference_data/all.yml +40 -0
  10. data/fixtures/vcr_cassettes/search/find.yml +68 -0
  11. data/fixtures/vcr_cassettes/status/create.yml +44 -0
  12. data/fixtures/vcr_cassettes/user/retrieve_fail_response.yml +41 -0
  13. data/fixtures/vcr_cassettes/user/retrieve_success_response.yml +41 -0
  14. data/fixtures/vcr_cassettes/user/retrieve_with_contacts_response.yml +40 -0
  15. data/fixtures/vcr_cassettes/user/save_response.yml +40 -0
  16. data/fixtures/vcr_cassettes/user/update_response.yml +40 -0
  17. data/lib/viadeo/configuration.rb +21 -0
  18. data/lib/viadeo/error.rb +5 -0
  19. data/lib/viadeo/graph_connection.rb +10 -0
  20. data/lib/viadeo/graph_object.rb +124 -0
  21. data/lib/viadeo/newsfeed.rb +15 -0
  22. data/lib/viadeo/operations/create.rb +12 -0
  23. data/lib/viadeo/operations/get.rb +13 -0
  24. data/lib/viadeo/operations/list.rb +12 -0
  25. data/lib/viadeo/operations/update.rb +25 -0
  26. data/lib/viadeo/recommend.rb +20 -0
  27. data/lib/viadeo/reference_data.rb +43 -0
  28. data/lib/viadeo/request.rb +24 -0
  29. data/lib/viadeo/search.rb +27 -0
  30. data/lib/viadeo/status.rb +15 -0
  31. data/lib/viadeo/user.rb +41 -0
  32. data/lib/viadeo/util.rb +21 -0
  33. data/lib/viadeo/version.rb +3 -0
  34. data/lib/viadeo.rb +56 -0
  35. data/spec/graph_object_spec.rb +141 -0
  36. data/spec/newsfeed_spec.rb +13 -0
  37. data/spec/recommend_spec.rb +26 -0
  38. data/spec/reference_data_spec.rb +13 -0
  39. data/spec/search_spec.rb +13 -0
  40. data/spec/shared_create_graph_object.rb +15 -0
  41. data/spec/shared_graph_object.rb +12 -0
  42. data/spec/spec_helper.rb +12 -0
  43. data/spec/status_spec.rb +15 -0
  44. data/spec/support/vcr_setup.rb +5 -0
  45. data/spec/user_spec.rb +92 -0
  46. data/spec/util_spec.rb +32 -0
  47. data/spec/viadeo_spec.rb +13 -0
  48. metadata +207 -0
@@ -0,0 +1,141 @@
1
+ require 'spec_helper'
2
+
3
+ describe Viadeo::GraphObject do
4
+ describe ".initialize" do
5
+ before(:all) do
6
+ access_token = "access_token_test_3e8c55877482b2"
7
+ id = "azertyazerty"
8
+ @graph_object = Viadeo::GraphObject.new(access_token, id: id)
9
+ end
10
+
11
+ subject { @graph_object }
12
+
13
+ [:id, :access_token, :updated?].each do |e|
14
+ it { should respond_to e}
15
+ end
16
+
17
+ [:id=, :access_token=].each do |e|
18
+ it { should_not respond_to e}
19
+ end
20
+
21
+
22
+ it "should not have updated attributes" do
23
+ @graph_object.updated?.should be_false
24
+ end
25
+
26
+ it "should raise MissingAccessTokenError when access_token is not given" do
27
+ expect { Viadeo::GraphObject.new(nil) }.to raise_error(Viadeo::MissingAccessTokenError)
28
+ end
29
+
30
+ describe "initialize variable name = 'Dupond'" do
31
+ before :each do
32
+ @graph_object.name="Dupond"
33
+ end
34
+
35
+ it { should respond_to :name}
36
+
37
+ it "should include 'name' variable in keys" do
38
+ @graph_object.keys.include?(:name).should be_true
39
+ end
40
+
41
+ it "should include 'Dupond' in values" do
42
+ @graph_object.keys.include?(:name).should be_true
43
+ end
44
+
45
+ it "should mark 'name' variable as updated attribute" do
46
+ @graph_object.updated?(:name).should be_true
47
+ end
48
+
49
+ it "should mark object as updated" do
50
+ @graph_object.updated?.should be_true
51
+ end
52
+ end
53
+ end
54
+
55
+ describe ".new_from" do
56
+ before(:all) do
57
+ access_token = "access_token_test_3e8c55877482b2"
58
+ data = { id: "azertyazerty", name: "dupond", email: "dupond@example.com"}
59
+ @graph_object = Viadeo::GraphObject.new_from(data, access_token)
60
+ end
61
+
62
+ subject { @graph_object }
63
+
64
+ [:id, :access_token, :updated?, :name, :name=, :email, :email=].each do |e|
65
+ it { should respond_to e}
66
+ end
67
+
68
+ it "should not have updated attributes" do
69
+ @graph_object.updated?.should be_false
70
+ end
71
+
72
+ it "should raise NoMethodError exception when we call an unknown method" do
73
+ lambda {@graph_object.unknown_method }.should raise_exception(NoMethodError)
74
+ end
75
+
76
+ describe "update attribute : name = 'Durond'" do
77
+ before :all do
78
+ @graph_object.name="Durond"
79
+ end
80
+
81
+ it "should mark object as updated" do
82
+ @graph_object.updated?.should be_true
83
+ end
84
+
85
+ it "should mark 'name' attribute as updated" do
86
+ @graph_object.updated?(:name).should be_true
87
+ end
88
+
89
+ it "should not mark 'email' attribute as updated" do
90
+ @graph_object.updated?(:email).should be_false
91
+ end
92
+ end
93
+ end
94
+
95
+
96
+ describe "Utils methods" do
97
+ before(:all) do
98
+ access_token = "access_token_test_3e8c55877482b2"
99
+ @data = { id: "azertyazerty", name: "dupond", email: "dupond@example.com"}
100
+ @graph_object = Viadeo::GraphObject.new_from(@data, access_token)
101
+ end
102
+
103
+ describe "#to_s" do
104
+ it "should dump attributes on pretty multijson format" do
105
+ @graph_object.to_s.should be_eql(MultiJson.dump(@data,pretty: true))
106
+ end
107
+ end
108
+
109
+ describe "#to_hash" do
110
+ it "should return a hash of given data" do
111
+ @graph_object.to_hash.should be_eql(@data)
112
+ end
113
+ end
114
+
115
+ describe "#[]" do
116
+ it "should create method whith the same name as key added to the graph object" do
117
+ @graph_object[:first_name]="First name"
118
+ @graph_object.should respond_to(:first_name)
119
+ @graph_object[:first_name].should be_eql("First name")
120
+ end
121
+ end
122
+
123
+ describe "#reset" do
124
+ before(:each) do
125
+ access_token = "access_token_test_3e8c55877482b2"
126
+ @data = { id: "azertyazerty", name: "dupond", email: "dupond@example.com"}
127
+ @graph_object = Viadeo::GraphObject.new_from(@data, access_token)
128
+ end
129
+
130
+ it "should return false for updated? method and reset all values and keys" do
131
+ @graph_object.updated?.should be_false
132
+ @graph_object.name = "durond"
133
+ @graph_object.updated?.should be_true
134
+ @graph_object.reset
135
+ @graph_object.updated?.should be_false
136
+ @graph_object.keys.should be_empty
137
+ @graph_object.values.should be_empty
138
+ end
139
+ end
140
+ end
141
+ end
@@ -0,0 +1,13 @@
1
+ require "spec_helper"
2
+ require "shared_graph_object"
3
+ describe Viadeo::Newsfeed do
4
+ build = lambda do
5
+ newsfeed = Viadeo::Newsfeed.new("access_token_test_3e8c55877482b2")
6
+ VCR.use_cassette 'newsfeed/retrieve' do
7
+ newsfeed.retrieve(limit: 5)
8
+ end
9
+ end
10
+ let(:limit) {5}
11
+ include_examples "shared_graph_object", graph_object = build.call
12
+ it {graph_object.type.should be_eql("USER NEWS") }
13
+ end
@@ -0,0 +1,26 @@
1
+ require "spec_helper"
2
+ require "shared_graph_object"
3
+ require "shared_create_graph_object"
4
+ describe Viadeo::Recommend do
5
+ describe "#retrive (Retrieve recommended URL infos.)" do
6
+ build = lambda do
7
+ recommend = Viadeo::Recommend.new("access_token_test_3e8c55877482b2")
8
+ VCR.use_cassette 'recommend/retrieve' do
9
+ recommend.retrieve(url: "http://dev.viadeo.com", limit: 5)
10
+ end
11
+ end
12
+ let(:limit) {5}
13
+ include_examples "shared_graph_object", graph_object = build.call
14
+ it {graph_object.type.should be_eql("RECOMMEND DETAILS") }
15
+ end
16
+ describe "#create (Recommend a new URL)" do
17
+ build = lambda do
18
+ recommend = Viadeo::Recommend.new("access_token_test_3e8c55877482b2")
19
+ VCR.use_cassette 'recommend/create' do
20
+ recommend.create(url: "http://dev.viadeo.com", title: "Get started with the Viadeo API")
21
+ end
22
+ end
23
+ include_examples "shared_create_graph_object", graph_object = build.call
24
+ end
25
+
26
+ end
@@ -0,0 +1,13 @@
1
+ require "spec_helper"
2
+ require "shared_graph_object"
3
+ describe Viadeo::ReferenceData do
4
+ build = lambda do
5
+ reference_data = Viadeo::ReferenceData.new("access_token_test_3e8c55877482b2", resource: "language")
6
+ VCR.use_cassette 'reference_data/all' do
7
+ reference_data.all(limit: 5)
8
+ end
9
+ end
10
+ let(:limit) {5}
11
+ include_examples "shared_graph_object", graph_object = build.call
12
+ it {graph_object.type.should be_eql("LANGUAGES") }
13
+ end
@@ -0,0 +1,13 @@
1
+ require "spec_helper"
2
+ require "shared_graph_object"
3
+ describe Viadeo::Search do
4
+ build = lambda do
5
+ search = Viadeo::Search.new("access_token_test_3e8c55877482b2", connection: "users")
6
+ VCR.use_cassette 'search/find' do
7
+ search.find(school: "paris", limit: 5)
8
+ end
9
+ end
10
+ let(:limit) {5}
11
+ include_examples "shared_graph_object", graph_object = build.call
12
+ it {graph_object.type.should be_eql("SEARCH FOR USERS") }
13
+ end
@@ -0,0 +1,15 @@
1
+ shared_examples "shared_create_graph_object" do |graph_object,success=false|
2
+
3
+ subject {graph_object}
4
+
5
+ if (success)
6
+ [:created, :created_graph_id].each do |attr|
7
+ it {should respond_to attr}
8
+ end
9
+ else
10
+ let(:error_type) {"permission denied"}
11
+ it "should return error message" do
12
+ graph_object.error[:type].should be_eql(error_type)
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,12 @@
1
+ shared_examples "shared_graph_object" do |graph_object|
2
+
3
+ subject {graph_object}
4
+
5
+ [:count, :count_string, :data, :id, :link, :name, :paging, :type, :updated_time].each do |attr|
6
+ it {should respond_to attr}
7
+ end
8
+
9
+ it "should have data array with limit size passed on parameter" do
10
+ graph_object.data.size.should be <= limit
11
+ end
12
+ end
@@ -0,0 +1,12 @@
1
+ require 'rspec'
2
+ require 'simplecov'
3
+ require 'vcr'
4
+ require 'support/vcr_setup'
5
+ require 'viadeo'
6
+ require 'logger'
7
+
8
+ logger = Logger.new(STDOUT)
9
+ logger.level = Logger::DEBUG
10
+ Viadeo.configure do |config|
11
+ config.logger = logger
12
+ end
@@ -0,0 +1,15 @@
1
+ require "spec_helper"
2
+ require "shared_create_graph_object"
3
+ describe Viadeo::Status do
4
+ describe "#create (Post a status)" do
5
+ build = lambda do
6
+ status = Viadeo::Status.new("access_token_test_3e8c55877482b2")
7
+ VCR.use_cassette 'status/create' do
8
+ status.create(message: "Viadeo API")
9
+ end
10
+ end
11
+
12
+ include_examples "shared_create_graph_object", graph_object=build.call, success=true
13
+ end
14
+
15
+ end
@@ -0,0 +1,5 @@
1
+ VCR.configure do |c|
2
+ c.cassette_library_dir = 'fixtures/vcr_cassettes'
3
+ c.allow_http_connections_when_no_cassette = true
4
+ c.hook_into :webmock
5
+ end
data/spec/user_spec.rb ADDED
@@ -0,0 +1,92 @@
1
+ require 'spec_helper'
2
+ describe Viadeo::User do
3
+ before(:all) do
4
+ @access_token = "access_token_test_3e8c55877482b2"
5
+ end
6
+
7
+
8
+ describe "#retrieve" do
9
+ context "when object is not found" do
10
+ before(:all) do
11
+ id = "azerty"
12
+ @user = Viadeo::User.new(@access_token, id: id)
13
+ VCR.use_cassette 'user/retrieve_fail_response' do
14
+ @user.retrieve
15
+ end
16
+ end
17
+
18
+ let(:error_type) {"url not found, id error or unsupported method"}
19
+
20
+ it "should return error message" do
21
+ @user.error[:type].should be_eql(error_type)
22
+ end
23
+ end
24
+
25
+ context "when object is founded" do
26
+ before(:all) do
27
+ @user = Viadeo::User.new(@access_token)
28
+ VCR.use_cassette 'user/retrieve_success_response' do
29
+ @user.retrieve
30
+ end
31
+ end
32
+
33
+ subject { @user}
34
+
35
+ [:id, :name, :language, :gender, :nickname].each do |attr|
36
+ it {should respond_to(attr) }
37
+ end
38
+
39
+ it {@user.type.should be_eql("USER") }
40
+ end
41
+
42
+ context "With all contacts" do
43
+ before(:all) do
44
+ @user = Viadeo::User.new(@access_token, connection: "contacts")
45
+ VCR.use_cassette 'user/retrieve_with_contacts_response' do
46
+ @user.retrieve(is_premium: true)
47
+ end
48
+ end
49
+
50
+ subject { @user}
51
+
52
+ [:id, :type, :name, :count, :paging, :data].each do |attr|
53
+ it {should respond_to(attr) }
54
+ end
55
+
56
+ it {@user.type.should be_eql("USER CONTACTS") }
57
+
58
+ end
59
+
60
+ end
61
+
62
+ describe "#save" do
63
+ before(:all) do
64
+ id = "me"
65
+ @user = Viadeo::User.new(@access_token, id: id)
66
+ @user.interests = "---"
67
+ VCR.use_cassette 'user/save_response' do
68
+ @user.save
69
+ end
70
+ end
71
+
72
+ subject {@user}
73
+
74
+ [:updated, :interests].each do |attr|
75
+ it {should respond_to attr}
76
+ end
77
+ end
78
+
79
+ describe "#update" do
80
+ before(:all) do
81
+ id = "me"
82
+ @user = Viadeo::User.new(@access_token, id: id)
83
+ VCR.use_cassette 'user/update_response' do
84
+ @user.update(interests: "---")
85
+ end
86
+ end
87
+
88
+ subject {@user}
89
+ it {should respond_to :updated}
90
+ end
91
+
92
+ end
data/spec/util_spec.rb ADDED
@@ -0,0 +1,32 @@
1
+ require 'spec_helper'
2
+ describe Viadeo::Util do
3
+ describe ".convert_to_graph_object" do
4
+
5
+ let(:access_token) { "access_token_test_3e8c55877482b2"}
6
+
7
+ context "Hash data given" do
8
+ before :each do
9
+ data = { id: "azertyazerty", name: "dupond", email: "dupond@example.com"}
10
+ @graph_object = Viadeo::Util.convert_to_graph_object(data, access_token)
11
+ end
12
+ it {@graph_object.should be_kind_of(Viadeo::GraphObject)}
13
+ end
14
+
15
+ context "Array data given" do
16
+ before :all do
17
+ data = [{ id: "dupond_id1", name: "dupond1", email: "dupond1@example.com"},
18
+ { id: "dupond_id2", name: "dupond2", email: "dupond2@example.com"},
19
+ { id: "dupond_id3", name: "dupond3", email: "dupond3@example.com"}]
20
+ @graph_objects = Viadeo::Util.convert_to_graph_object(data, access_token)
21
+ end
22
+
23
+ it {@graph_objects.should be_kind_of(Array)}
24
+
25
+ it "should return array of GraphObject object" do
26
+ @graph_objects.each do |graph_object|
27
+ graph_object.should be_kind_of(Viadeo::GraphObject)
28
+ end
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,13 @@
1
+ require 'spec_helper'
2
+ describe Viadeo do
3
+ it 'should return correct version string' do
4
+ Viadeo.version_string.should == "Viadeo version #{Viadeo::VERSION}"
5
+ end
6
+
7
+ describe ".config" do
8
+ before(:each) do
9
+ @config = Viadeo.config
10
+ end
11
+ it { @config.should respond_to :logger }
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,207 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: viadeo
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - neceha bgl
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-05-03 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: multi_json
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: faraday
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: rspec
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: simplecov
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: vcr
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: webmock
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ description: This gem enables you to access most features of the Viadeo GRAPH API
111
+ via Ruby
112
+ email:
113
+ - neceha.bgl@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - lib/viadeo/status.rb
119
+ - lib/viadeo/graph_object.rb
120
+ - lib/viadeo/error.rb
121
+ - lib/viadeo/graph_connection.rb
122
+ - lib/viadeo/reference_data.rb
123
+ - lib/viadeo/configuration.rb
124
+ - lib/viadeo/user.rb
125
+ - lib/viadeo/request.rb
126
+ - lib/viadeo/recommend.rb
127
+ - lib/viadeo/util.rb
128
+ - lib/viadeo/newsfeed.rb
129
+ - lib/viadeo/search.rb
130
+ - lib/viadeo/version.rb
131
+ - lib/viadeo/operations/get.rb
132
+ - lib/viadeo/operations/list.rb
133
+ - lib/viadeo/operations/create.rb
134
+ - lib/viadeo/operations/update.rb
135
+ - lib/viadeo.rb
136
+ - Gemfile.lock
137
+ - README.md
138
+ - Gemfile
139
+ - LICENSE.txt
140
+ - Rakefile
141
+ - spec/shared_create_graph_object.rb
142
+ - spec/viadeo_spec.rb
143
+ - spec/newsfeed_spec.rb
144
+ - spec/user_spec.rb
145
+ - spec/support/vcr_setup.rb
146
+ - spec/shared_graph_object.rb
147
+ - spec/reference_data_spec.rb
148
+ - spec/util_spec.rb
149
+ - spec/graph_object_spec.rb
150
+ - spec/status_spec.rb
151
+ - spec/recommend_spec.rb
152
+ - spec/spec_helper.rb
153
+ - spec/search_spec.rb
154
+ - fixtures/vcr_cassettes/search/find.yml
155
+ - fixtures/vcr_cassettes/status/create.yml
156
+ - fixtures/vcr_cassettes/newsfeed/retrieve.yml
157
+ - fixtures/vcr_cassettes/reference_data/all.yml
158
+ - fixtures/vcr_cassettes/user/save_response.yml
159
+ - fixtures/vcr_cassettes/user/retrieve_success_response.yml
160
+ - fixtures/vcr_cassettes/user/update_response.yml
161
+ - fixtures/vcr_cassettes/user/retrieve_with_contacts_response.yml
162
+ - fixtures/vcr_cassettes/user/retrieve_fail_response.yml
163
+ - fixtures/vcr_cassettes/recommend/retrieve.yml
164
+ - fixtures/vcr_cassettes/recommend/create.yml
165
+ homepage: https://github.com/neceha-bgl/viadeo
166
+ licenses: []
167
+ post_install_message:
168
+ rdoc_options: []
169
+ require_paths:
170
+ - lib
171
+ required_ruby_version: !ruby/object:Gem::Requirement
172
+ none: false
173
+ requirements:
174
+ - - ! '>='
175
+ - !ruby/object:Gem::Version
176
+ version: '0'
177
+ required_rubygems_version: !ruby/object:Gem::Requirement
178
+ none: false
179
+ requirements:
180
+ - - ! '>='
181
+ - !ruby/object:Gem::Version
182
+ version: '0'
183
+ requirements: []
184
+ rubyforge_project:
185
+ rubygems_version: 1.8.24
186
+ signing_key:
187
+ specification_version: 3
188
+ summary: The Viadeo Graph API is a simple way to bring a professional social context
189
+ to websites, applications and services. Each object on Viadeo has a unique ID which
190
+ can be used to call the information attached to it including any relationships or
191
+ connections that exist between the objects. An object might be a member, an event
192
+ or a job and connections might be professional relationships, shared articles or
193
+ newsfeed comments
194
+ test_files:
195
+ - spec/shared_create_graph_object.rb
196
+ - spec/viadeo_spec.rb
197
+ - spec/newsfeed_spec.rb
198
+ - spec/user_spec.rb
199
+ - spec/support/vcr_setup.rb
200
+ - spec/shared_graph_object.rb
201
+ - spec/reference_data_spec.rb
202
+ - spec/util_spec.rb
203
+ - spec/graph_object_spec.rb
204
+ - spec/status_spec.rb
205
+ - spec/recommend_spec.rb
206
+ - spec/spec_helper.rb
207
+ - spec/search_spec.rb