capsule_crm 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +0,0 @@
1
- module CapsuleCRM
2
- module Associations
3
- module BelongsTo
4
- extend ActiveSupport::Concern
5
-
6
- module ClassMethods
7
- def belongs_to(type, options = {})
8
- end
9
- end
10
- end
11
- end
12
- end
@@ -1,12 +0,0 @@
1
- module CapsuleCRM
2
- module Associations
3
- module HasMany
4
- extend ActiveSupport::Concern
5
-
6
- module ClassMethods
7
- def has_many(type, options = {})
8
- end
9
- end
10
- end
11
- end
12
- end
@@ -1,3 +0,0 @@
1
- class CapsuleCRM::Associations::HasManyProxy < BasicObject
2
-
3
- end
@@ -1,6 +0,0 @@
1
- class CapsuleCRM::Contact
2
-
3
- def destroy
4
- CapsuleCRM::Connection.delete "/api/party/#{party_id}/contact/#{id}"
5
- end
6
- end
@@ -1,33 +0,0 @@
1
- {
2
- "person": {
3
- "jobTitle": "Chairman",
4
- "about": "A comment here",
5
- "lastName": "Schmidt",
6
- "title": "Mr",
7
- "organisationName": "Google Inc",
8
- "firstName": "Eric",
9
- "contacts": {
10
- "email": {
11
- "type": "Home",
12
- "emailAddress": "e.schmidt@google.com"
13
- },
14
- "website": {
15
- "type": "work",
16
- "webAddress": "www.google.com",
17
- "webService": "URL"
18
- },
19
- "address": {
20
- "country": "United States",
21
- "city": "Mountain View",
22
- "state": "CA",
23
- "type": "Office",
24
- "zip": "94043",
25
- "street": "1600 Amphitheatre Parkway"
26
- },
27
- "phone": {
28
- "phoneNumber": "+1 888 555555",
29
- "type": "Mobile"
30
- }
31
- }
32
- }
33
- }
@@ -1,5 +0,0 @@
1
- {
2
- "person": {
3
- "firstName": "James"
4
- }
5
- }