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}")
@@ -1,5 +1,5 @@
1
1
  module Driftrock
2
2
  module Service
3
- VERSION = "0.1.8"
3
+ VERSION = "0.1.9"
4
4
  end
5
5
  end
@@ -31,7 +31,6 @@ module Driftrock
31
31
  base.extend ClassMethods
32
32
  end
33
33
 
34
-
35
34
  def authorise
36
35
  return if session && session[:user_id] && session[:company_id]
37
36
  timestamp = params[:timestamp]
@@ -55,6 +54,5 @@ module Driftrock
55
54
  )
56
55
  end
57
56
 
58
-
59
57
  end
60
58
  end
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.8
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-08 00:00:00.000000000 Z
12
+ date: 2013-05-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty