teamleader 0.10.0 → 0.10.1
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.
- checksums.yaml +4 -4
- data/lib/teamleader/api.rb +0 -17
- data/lib/teamleader/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 90bc69bc3227cbc5d4a21e060db6c068ec0b2474
|
|
4
|
+
data.tar.gz: 3ff560a8a73cf98e9139c714a0b0920dd063004f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6e6d7011a609649036010b64588015e852ff0404f59a04a4e9e3a690bb34bd623d0595e2d320a9183257c83c740a967c881d1c3768b448e84166d20841b6ddf
|
|
7
|
+
data.tar.gz: f0d976c5318bd9ffa28a792fa3476d775d89ba375bdb732a4b1a29be697ba5127025cdcc061368cba656016274964938e34e9019b40629387bf0321aa6463a57
|
data/lib/teamleader/api.rb
CHANGED
|
@@ -76,23 +76,6 @@ module Teamleader
|
|
|
76
76
|
request "/getContactCompanyRelations.php", params
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
# Returns the ID of the company
|
|
80
|
-
def add_company(params={})
|
|
81
|
-
raise "name is required" if params[:name].nil?
|
|
82
|
-
request "/addCompany.php", params
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
def get_company(params={})
|
|
86
|
-
raise "company_id is required" if params[:company_id].nil?
|
|
87
|
-
request "/getCompany.php", params
|
|
88
|
-
end
|
|
89
|
-
|
|
90
|
-
def get_companies(params={})
|
|
91
|
-
raise "amount is required" if params[:amount].nil?
|
|
92
|
-
raise "pageno is required" if params[:pageno].nil?
|
|
93
|
-
request "/getCompanies.php", params
|
|
94
|
-
end
|
|
95
|
-
|
|
96
79
|
def add_deal(params={})
|
|
97
80
|
raise "contact_or_company is required" if params[:contact_or_company].nil?
|
|
98
81
|
raise "contact_or_company_id is required" if params[:contact_or_company_id].nil?
|
data/lib/teamleader/version.rb
CHANGED