360_services 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/360_services.gemspec +1 -1
- data/Rakefile +1 -1
- data/lib/sorenson/services/account.rb +3 -2
- metadata +1 -1
data/360_services.gemspec
CHANGED
data/Rakefile
CHANGED
@@ -4,7 +4,7 @@ require 'cucumber/rake/task'
|
|
4
4
|
require 'echoe'
|
5
5
|
|
6
6
|
|
7
|
-
Echoe.new('360_services', '1.0.
|
7
|
+
Echoe.new('360_services', '1.0.8') do |p|
|
8
8
|
p.description = "Ruby bindings for Sorenson 360"
|
9
9
|
p.url = "http://github.com/sorenson/360_services"
|
10
10
|
p.author = "Sorenson Media"
|
@@ -38,10 +38,11 @@ module Sorenson
|
|
38
38
|
Base.get_from("/subaccounts")
|
39
39
|
end
|
40
40
|
|
41
|
-
def create_subaccount(
|
42
|
-
Base.post_to("/subaccounts", :subaccount => {:username =>
|
41
|
+
def create_subaccount(username_email, password)
|
42
|
+
Base.post_to("/subaccounts", :subaccount => {:username => username_email, :email => username_email, :password => password})
|
43
43
|
end
|
44
44
|
|
45
|
+
|
45
46
|
def initialize(data)
|
46
47
|
self.username = data['username']
|
47
48
|
self.status = data['status']
|