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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{360_services}
5
- s.version = "1.0.7"
5
+ s.version = "1.0.8"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Sorenson Media"]
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') do |p|
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(username, email, password)
42
- Base.post_to("/subaccounts", :subaccount => {:username => username, :email => email, :password => password})
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']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: 360_services
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sorenson Media