lib/3scale_api/3scale/api.rb in 3scale_api-1.0.8 vs lib/3scale_api/3scale/api.rb in 3scale_api-1.0.9
- old
+ new
@@ -147,9 +147,10 @@
user_id = xml.xpath('//account/users/user/id').text
self.approve_account account_id
results = self.get_application_list account_id
results[0][:user_id] = user_id.to_s
result[:account_info] = results
+ result
end
def get_account_plans
response = @conn.get "/admin/api/account_plans.xml", {:provider_key => @provider_key}
return false if response.status != 200