public
Description: A gem that provides a ruby wrapper around the tickspot.com api
Homepage: http://tickspot.com/api/
Clone URL: git://github.com/bricooke/tickspot-ruby.git
Search Repo:
yoink
bricooke (author)
Sat Apr 12 08:54:46 -0700 2008
commit  cf9fc64560793613483360224098687608e4569b
tree    4f207c4a2719732b2d18543496d73a9815354c2f
parent  09cffcfc47d0dc9bd8e8f03a9208f73e69c1fc10
0
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
0
@@ -1 +1,29 @@
0
+This is a ruby wrapper for talking to the tickspot.com API. See http://tickspot.com/api/ for details.
0
+
0
+Still a work in progress.
0
+
0
+*Usage*
0
+ts = Tickspot.new("company.tickspot.com", "email@example.com", "password")
0
+
0
+ts.users[0].email
0
+=> "email@example.com"
0
+
0
+ts.users[0].created_at
0
+=> "Fri May 11 15:00:08 EDT 2007"
0
+
0
+
0
+ts.projects[0].name
0
+=> "Best Project Ever"
0
+
0
+ts.tasks(ts.projects[0].id)[0].sum_hours
0
+=> "5.5"
0
+
0
+ts.entries(5.years.ago, Time.now, :project_id => ts.projects[0].id)[0].hours
0
+=> "0.5"
0
+
0
+
0
+*TODO*
0
+ - Make a gem
0
+ - Write specs
0
+ - Convert the return values to their actual data types instead of always returning strings
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
@@ -1,29 +1 @@
0
-This is a ruby wrapper for talking to the tickspot.com API. See http://tickspot.com/api/ for details.
0
-
0
-Still a work in progress.
0
-
0
-*Usage*
0
-ts = Tickspot.new("company.tickspot.com", "email@example.com", "password")
0
-
0
-ts.users[0].email
0
-=> "email@example.com"
0
-
0
-ts.users[0].created_at
0
-=> "Fri May 11 15:00:08 EDT 2007"
0
-
0
-
0
-ts.projects[0].name
0
-=> "Best Project Ever"
0
-
0
-ts.tasks(ts.projects[0].id)[0].sum_hours
0
-=> "5.5"
0
-
0
-ts.entries(5.years.ago, Time.now, :project_id => ts.projects[0].id)[0].hours
0
-=> "0.5"
0
-
0
-
0
-*TODO*
0
- - Make a gem
0
- - Write specs
0
- - Convert the return values to their actual data types instead of always returning strings

Comments

    No one has commented yet.