hubspot 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +149 -0
  3. data/Rakefile +38 -0
  4. data/app/helpers/hubspot_helper.rb +17 -0
  5. data/app/models/hubspot/base.rb +40 -0
  6. data/app/models/hubspot/blog.rb +35 -0
  7. data/app/models/hubspot/blogs/blog_association.rb +35 -0
  8. data/app/models/hubspot/blogs/comment.rb +5 -0
  9. data/app/models/hubspot/blogs/post.rb +12 -0
  10. data/app/models/hubspot/blogs/posts/comment.rb +23 -0
  11. data/app/models/hubspot/connection.rb +35 -0
  12. data/app/models/hubspot/event.rb +39 -0
  13. data/app/models/hubspot/keyword.rb +49 -0
  14. data/app/models/hubspot/lead.rb +26 -0
  15. data/app/models/hubspot/performable/event.rb +67 -0
  16. data/lib/hubspot.rb +8 -0
  17. data/lib/hubspot/action_controller_extensions.rb +15 -0
  18. data/lib/hubspot/engine.rb +30 -0
  19. data/lib/hubspot/version.rb +3 -0
  20. data/lib/tasks/hubspot_tasks.rake +4 -0
  21. data/test/dummy/README.rdoc +261 -0
  22. data/test/dummy/Rakefile +7 -0
  23. data/test/dummy/app/assets/javascripts/application.js +15 -0
  24. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  25. data/test/dummy/app/controllers/application_controller.rb +3 -0
  26. data/test/dummy/app/helpers/application_helper.rb +2 -0
  27. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  28. data/test/dummy/config.ru +4 -0
  29. data/test/dummy/config/application.rb +56 -0
  30. data/test/dummy/config/boot.rb +10 -0
  31. data/test/dummy/config/database.yml +25 -0
  32. data/test/dummy/config/environment.rb +5 -0
  33. data/test/dummy/config/environments/development.rb +37 -0
  34. data/test/dummy/config/environments/production.rb +67 -0
  35. data/test/dummy/config/environments/test.rb +37 -0
  36. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  37. data/test/dummy/config/initializers/inflections.rb +15 -0
  38. data/test/dummy/config/initializers/mime_types.rb +5 -0
  39. data/test/dummy/config/initializers/secret_token.rb +7 -0
  40. data/test/dummy/config/initializers/session_store.rb +8 -0
  41. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  42. data/test/dummy/config/locales/en.yml +5 -0
  43. data/test/dummy/config/routes.rb +58 -0
  44. data/test/dummy/db/test.sqlite3 +0 -0
  45. data/test/dummy/log/test.log +2056 -0
  46. data/test/dummy/public/404.html +26 -0
  47. data/test/dummy/public/422.html +26 -0
  48. data/test/dummy/public/500.html +25 -0
  49. data/test/dummy/public/favicon.ico +0 -0
  50. data/test/dummy/script/rails +6 -0
  51. data/test/fixtures/vcr_cassettes/blog-comments.yml +74 -0
  52. data/test/fixtures/vcr_cassettes/blog-find.yml +36 -0
  53. data/test/fixtures/vcr_cassettes/blog-posts.yml +75 -0
  54. data/test/fixtures/vcr_cassettes/blogs-list.yml +39 -0
  55. data/test/fixtures/vcr_cassettes/event-create.yml +36 -0
  56. data/test/fixtures/vcr_cassettes/event-record.yml +47 -0
  57. data/test/fixtures/vcr_cassettes/events-list.yml +41 -0
  58. data/test/fixtures/vcr_cassettes/keyword-create.yml +36 -0
  59. data/test/fixtures/vcr_cassettes/keywords-list.yml +385 -0
  60. data/test/fixtures/vcr_cassettes/lead-find.yml +103 -0
  61. data/test/fixtures/vcr_cassettes/lead-update.yml +239 -0
  62. data/test/fixtures/vcr_cassettes/leads-list.yml +190 -0
  63. data/test/fixtures/vcr_cassettes/post-comments.yml +72 -0
  64. data/test/fixtures/vcr_cassettes/post-find.yml +39 -0
  65. data/test/hubspot_test.rb +5 -0
  66. data/test/test_helper.rb +22 -0
  67. data/test/unit/blog_test.rb +37 -0
  68. data/test/unit/event_test.rb +21 -0
  69. data/test/unit/keyword_test.rb +22 -0
  70. data/test/unit/lead_test.rb +31 -0
  71. data/test/unit/performable_event_test.rb +22 -0
  72. data/test/unit/post_test.rb +20 -0
  73. metadata +207 -0
@@ -0,0 +1,239 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.hubapi.com/leads/v1/lead/8a41f2f22906b93a012906b9438f0008.json?access_token=demooooo-oooo-oooo-oooo-oooooooooooo&portalId=62515
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: !binary |-
20
+ T0s=
21
+ headers:
22
+ !binary "RGF0ZQ==":
23
+ - !binary |-
24
+ V2VkLCAwNCBBcHIgMjAxMiAyMToyNzo0NCBHTVQ=
25
+ !binary "Q29udGVudC1UeXBl":
26
+ - !binary |-
27
+ YXBwbGljYXRpb24vanNvbjtjaGFyc2V0PXV0Zi04
28
+ !binary "Q29ubmVjdGlvbg==":
29
+ - !binary |-
30
+ a2VlcC1hbGl2ZQ==
31
+ !binary "U2VydmVy":
32
+ - !binary |-
33
+ QXBhY2hlLUNveW90ZS8xLjE=
34
+ !binary "RXRhZw==":
35
+ - !binary |-
36
+ MTY5MjQyMzMwNg==
37
+ !binary "Q29udGVudC1FbmNvZGluZw==":
38
+ - !binary |-
39
+ Z3ppcA==
40
+ !binary "Q29udGVudC1MZW5ndGg=":
41
+ - !binary |-
42
+ MjQ0Ng==
43
+ body:
44
+ encoding: ASCII-8BIT
45
+ string: !binary |-
46
+ H4sIAAAAAAAAANVcbW/bOBL+K4aA3U9pwndSwXZv0yS97W12WzRtv2wXB0qi
47
+ Ym1lyaeXpLmi//2GkuzYltOoiITwEAO2SA5n9HA4z+gl88XTUVSYsvSOPe/A
48
+ 05lOb6skLM9MpZMUWr94Ok0/JOamfLVY5kVlIu+4Kmpz4IV5nVXl73mUxImJ
49
+ TirvGBPpK04JkQihAy9OirL6kJRJ1XVyiZHivOlMYB5PaYZjEhPiIxH4VCPc
50
+ /mJUxTBKgUWpLqs3+spYE/ZMY7vvU5EaHf2zHqwIRr+Cs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lM9T7+j95v2VyiFkAAA==
101
+ http_version:
102
+ recorded_at: Wed, 04 Apr 2012 21:27:47 GMT
103
+ - request:
104
+ method: put
105
+ uri: https://api.hubapi.com/leads/v1/lead/8a41f2f22906b93a012906b9438f0008.json?access_token=demooooo-oooo-oooo-oooo-oooooooooooo&portalId=62515
106
+ body:
107
+ encoding: US-ASCII
108
+ string: ! '{"address":"","city":"<a href=\"http://boston.com\">Boston</a>","company":"Proquest","country":"etas
109
+ unis","email":"adrian@hubspot.com","fax":"1231231234","firstName":"John","guid":"8a41f2f22906b93a012906b9438f0008","industry":"","ipAddress":"123.321.123.321","jobTitle":"Devloper","lastName":"Kanaki","phone":"321-123-3211","salutation":"","score":90.6981,"state":"Maharashtra","twitterHandle":"adrianmott","userToken":"123","website":"http://hubspot.com","zip":"12"}'
110
+ headers:
111
+ Content-Type:
112
+ - application/json
113
+ Accept:
114
+ - ! '*/*'
115
+ User-Agent:
116
+ - Ruby
117
+ response:
118
+ status:
119
+ code: 200
120
+ message: OK
121
+ headers:
122
+ Date:
123
+ - Wed, 04 Apr 2012 21:27:45 GMT
124
+ Content-Type:
125
+ - application/json;charset=utf-8
126
+ Connection:
127
+ - keep-alive
128
+ Server:
129
+ - Apache-Coyote/1.1
130
+ Etag:
131
+ - '1692423306'
132
+ Content-Length:
133
+ - '0'
134
+ body:
135
+ encoding: US-ASCII
136
+ string: ''
137
+ http_version:
138
+ recorded_at: Wed, 04 Apr 2012 21:27:48 GMT
139
+ - request:
140
+ method: get
141
+ uri: https://api.hubapi.com/leads/v1/lead/8a41f2f22906b93a012906b9438f0008.json?access_token=demooooo-oooo-oooo-oooo-oooooooooooo&portalId=62515
142
+ body:
143
+ encoding: US-ASCII
144
+ string: ''
145
+ headers:
146
+ Accept:
147
+ - application/json
148
+ Accept-Encoding:
149
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
150
+ User-Agent:
151
+ - Ruby
152
+ response:
153
+ status:
154
+ code: 200
155
+ message: !binary |-
156
+ T0s=
157
+ headers:
158
+ !binary "RGF0ZQ==":
159
+ - !binary |-
160
+ V2VkLCAwNCBBcHIgMjAxMiAyMToyNzo0NiBHTVQ=
161
+ !binary "Q29udGVudC1UeXBl":
162
+ - !binary |-
163
+ YXBwbGljYXRpb24vanNvbjtjaGFyc2V0PXV0Zi04
164
+ !binary "Q29ubmVjdGlvbg==":
165
+ - !binary |-
166
+ a2VlcC1hbGl2ZQ==
167
+ !binary "U2VydmVy":
168
+ - !binary |-
169
+ QXBhY2hlLUNveW90ZS8xLjE=
170
+ !binary "RXRhZw==":
171
+ - !binary |-
172
+ MTY5MjQyMzMwNg==
173
+ !binary "Q29udGVudC1FbmNvZGluZw==":
174
+ - !binary |-
175
+ Z3ppcA==
176
+ !binary "Q29udGVudC1MZW5ndGg=":
177
+ - !binary |-
178
+ MjQ0Nw==
179
+ body:
180
+ encoding: ASCII-8BIT
181
+ string: !binary |-
182
+ H4sIAAAAAAAAANVcbW/bOBL+K4aA3U9pwndSwXZv0yS96252WzRtv2wXB0qi
183
+ Ym1lyaeXpLmi//2GkuzYltOoiITwEAO2SA5n9HA4z+gl88XTUVSYsvSOPe/A
184
+ 05lOb6skLM9MpZMUWr94Ok0/JOamfLVY5kVlIu+4Kmpz4IV5nVXl73mUxImJ
185
+ TirvGBPpK04JkQihAy9OirL6kJRJ1XVyiZHivOlMYB5PaYZjEhPiIxH4VCPc
186
+ /mJUxTBKgUWpLqs3+spYE/ZMY7vvU5EaHf2zHqwIRr+CsYoiH6sDb9kpPbWn
187
+ 6R0TaIHT16kdIwjH/MCrS1O8yz+ZDDRgioSMRRAHEWcE+Ur6NI40ggMNv3zQ
188
+ cG3tXE33FQBMqluQ/EnP5oWJn3/05lW1PD46CvKyyrPDMF989H5+0Rz89PFI
189
+ /wxThGletlgjuwCLpc7sFG+K/D+1KSuvW5XCNsIKlrM6S0rbWiw2VzTLap2+
190
+ Ndcmqw3AZsFqZoZ5Ah0kaWMYbsTe3S5N8xumTxYa1n8t9x2rmJ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WxWx
224
+ MNdJXpd2EtMVP7MeZuU5lYIzuStPGCBBBKf2UnhH3tbHuxP3paC4Jy6Qoj5E
225
+ JoEeUM+I8u2gHXklbWlGTEXf/C31jPgY9dWDOFeEcda3fke9kBT31Ns6NrDA
226
+ BDHxgHorrvaJQzNcGfhD1Pv75X2f2kedD6nn+9QD/JDFSTZAvdwrTxGs/x70
227
+ eurtDfa+OERAjkQfvL56e/t0nzxcuVivfkA9I721t+IC2tWQtWekt3NaeakE
228
+ 7S9eXz3bK26f1eAH1SvkW4h25ClTlAks6T3gd4GhLWW4FQogcZdE7NmLGFJ8
229
+ ISV5YD1a+R4grbzCiPX38qZFNnat6rDa41/LPLtIsk9eW7OyPD460svkcF4H
230
+ 9gsy5CM7qjy6xs2Po4HlXntTLg83Cnx2c0Jr8+sfq7D6vImqP1qOeD5Q0R91
231
+ UdW2OKatXXpt1kUjt/pW1UDtyUMgpIDeAnJbiOw21Z3pxUzPMnMzWzU2tU/7
232
+ lSDtPwcu53lmpcCDnkHkfAbfuE8M0FAHaRJeDIWiHX7U+kxTTXYXFNvVZJbP
233
+ f1ucnP/9+qZMXp5oNMdxJkLzA3lx8wM9gw8YU+ibyzAvbHJhvaGE9AAcYV0h
234
+ tmz7fHQofAWnVOZ1ERprO10dNBkFhuFbFUa9rW4C3bslRze6v1F7s2zd0vtd
235
+ z3Why3lV2EyvukkqmO5fOouaWp9tXdhFXtnau1v1gJtU+sYEZdJM09Va3S4g
236
+ +99k2Qz1vv4PG1ea1IhZAAA=
237
+ http_version:
238
+ recorded_at: Wed, 04 Apr 2012 21:27:49 GMT
239
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,190 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.hubapi.com/leads/v1/list.json?access_token=demooooo-oooo-oooo-oooo-oooooooooooo&max=10&portalId=62515
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: !binary |-
20
+ T0s=
21
+ headers:
22
+ !binary "RGF0ZQ==":
23
+ - !binary |-
24
+ V2VkLCAwNCBBcHIgMjAxMiAyMTowMjowMiBHTVQ=
25
+ !binary "Q29udGVudC1UeXBl":
26
+ - !binary |-
27
+ YXBwbGljYXRpb24vanNvbjtjaGFyc2V0PXV0Zi04
28
+ !binary "Q29ubmVjdGlvbg==":
29
+ - !binary |-
30
+ a2VlcC1hbGl2ZQ==
31
+ !binary "U2VydmVy":
32
+ - !binary |-
33
+ QXBhY2hlLUNveW90ZS8xLjE=
34
+ !binary "RXRhZw==":
35
+ - !binary |-
36
+ LTIwNjY3NzkzOTM=
37
+ !binary "Q29udGVudC1FbmNvZGluZw==":
38
+ - !binary |-
39
+ Z3ppcA==
40
+ !binary "Q29udGVudC1MZW5ndGg=":
41
+ - !binary |-
42
+ NjM0OQ==
43
+ body:
44
+ encoding: ASCII-8BIT
45
+ string: !binary |-
46
+ H4sIAAAAAAAAAO1dC3PbNrb+KxrN5M69M4mC96Oz3W1eTvNq0jhJb7vt7IAk
47
+ GLORJVePOOne/e/3gKIsUiQl0CItemfHHlsiAQL4cIBzvgPg8O//HJoomtn5
48
+ fPjNcHh3aCZm/HWRhPPHdmGSMVyFBOPxh8Rezp+dX0xnCxsNv1nMlvbuMJwu
49
+ J4v5q2mUxImNHiyG32AiteKUEIkQujuMk9l88SGZJ4vsJpcYKc7Tmwk8Z6gM
50
+ wzGJCdFIBJoahFefGFUxpFJQo7GZL96Yj9ZVoeIx7nZdEWNroqdL74Ig9TNI
51
+ qyjSWN0dXmSFPnLNHH5D4Ao034xdGkE45neHy7mdvZt+shMoAVMkZCyCOIg4
52
+ I0grqWkcGQRfDHzSUMJnV8/14/4FACaLr5DzL2ZwNrPxt78OzxaLi2/u3w+m
53
+ 88V0Mgqn578O//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DzlwkRjdn2xrCc5VrpxSZH82L/rH58++Apf/xj
186
+ /OHD9H30v09/nP/4vuq1QgTv8GCTkaadnt8quEr8PdgertRKD/Zv/w+3/q5z
187
+ kPEAAA==
188
+ http_version:
189
+ recorded_at: Wed, 04 Apr 2012 21:02:05 GMT
190
+ recorded_with: VCR 2.0.1
@@ -0,0 +1,72 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.hubapi.com/blog/v1/posts/6ca6fdc5-a81f-44db-a63b-f56ab2636c69.json?access_token=demooooo-oooo-oooo-oooo-oooooooooooo&portalId=62515
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Date:
22
+ - Wed, 04 Apr 2012 23:41:21 GMT
23
+ Content-Type:
24
+ - application/json;charset=UTF-8
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ Server:
30
+ - Apache-Coyote/1.1
31
+ body:
32
+ encoding: US-ASCII
33
+ string: ! '{"authorDisplayName":"testapi@hubspot.com","authorEmail":"testapi@hubspot.com","blogGuid":"0d61e4ca-e395-4c1c-8766-afaa48bf68db","body":"<b>This
34
+ is the content of the blog post<\/b>","createTimestamp":1333483438000,"draft":true,"guid":"6ca6fdc5-a81f-44db-a63b-f56ab2636c69","jsonUrl":"https://api.hubapi.com/blog/v1/posts/6ca6fdc5-a81f-44db-a63b-f56ab2636c69.json","lastUpdateTimestamp":1333483438000,"metaDescription":"test
35
+ metaDescription!","metaKeywords":"these are totally test keywords.","portalId":62515,"postAnalytics":null,"publishTimestamp":1333483438000,"sendNotifications":true,"summary":"This
36
+ is a test summary","tags":["tag2","tag1"],"title":"I am a test post","url":"http://demo.hubapi.com/blog-for-testing/bid/103902/"}'
37
+ http_version:
38
+ recorded_at: Wed, 04 Apr 2012 23:41:21 GMT
39
+ - request:
40
+ method: get
41
+ uri: https://api.hubapi.com/blog/v1/posts/6ca6fdc5-a81f-44db-a63b-f56ab2636c69/comments.json?access_token=demooooo-oooo-oooo-oooo-oooooooooooo&max=2&portalId=62515
42
+ body:
43
+ encoding: US-ASCII
44
+ string: ''
45
+ headers:
46
+ Accept:
47
+ - application/json
48
+ Accept-Encoding:
49
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
50
+ User-Agent:
51
+ - Ruby
52
+ response:
53
+ status:
54
+ code: 200
55
+ message: OK
56
+ headers:
57
+ Date:
58
+ - Wed, 04 Apr 2012 23:41:22 GMT
59
+ Content-Type:
60
+ - application/json;charset=UTF-8
61
+ Transfer-Encoding:
62
+ - chunked
63
+ Connection:
64
+ - keep-alive
65
+ Server:
66
+ - Apache-Coyote/1.1
67
+ body:
68
+ encoding: US-ASCII
69
+ string: ! '[]'
70
+ http_version:
71
+ recorded_at: Wed, 04 Apr 2012 23:41:23 GMT
72
+ recorded_with: VCR 2.0.1