driftrock-service 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -60,6 +60,10 @@ module Driftrock
|
|
60
60
|
def new_account(user_data)
|
61
61
|
post(URLs::USERS+"/new", user_data)
|
62
62
|
end
|
63
|
+
|
64
|
+
def add_company(company_data)
|
65
|
+
post(URLs::USERS+"/company", company_data)
|
66
|
+
end
|
63
67
|
|
64
68
|
def get_user(user_session_id)
|
65
69
|
get(URLs::USERS+"/#{user_session_id}")
|
data/lib/driftrock-service.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: driftrock-service
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|