zuora_connect 0.0.9.2.8 → 0.0.9.2.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25897bed4073a518db27f4b60c8d22426016fc96
|
4
|
+
data.tar.gz: 0879773285cb78e84d0a9fc12f38ce611bfdaee1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ee5b71ab7c25aefcc202cf5fa00ae3e648e911f017d20b0a7a07106c7138db19bd0aa1eb1b351ce953f37f31668a113cf3d3f569e73a74e3e9a33fcd13a5012
|
7
|
+
data.tar.gz: 26243170ddc3d4c8c28a2f234c24c5a9732110654e22bd3cdb6eb7ff9ee16c5f6b880fe5c305def9dd06ee65b4f80e27f2661b396a657cdd6c6873ee0cbb5c47
|
@@ -2,8 +2,8 @@ require_dependency "zuora_connect/application_controller"
|
|
2
2
|
|
3
3
|
module ZuoraConnect
|
4
4
|
class Api::V1::AppInstanceController < ApplicationController
|
5
|
-
skip_before_filter :authenticate_connect_app_request
|
6
|
-
skip_after_filter :persist_connect_app_session
|
5
|
+
#skip_before_filter :authenticate_connect_app_request
|
6
|
+
#skip_after_filter :persist_connect_app_session
|
7
7
|
|
8
8
|
def create
|
9
9
|
Apartment::Tenant.create(session['AppInstance'])
|
@@ -13,7 +13,7 @@ module ZuoraConnect
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def drop
|
16
|
-
instance_id =
|
16
|
+
instance_id = @appinstance.id
|
17
17
|
if session["#{instance_id}::destroy"] && ZuoraConnect::AppInstance.where(:id => instance_id).size != 0
|
18
18
|
ZuoraConnect::AppInstance.destroy(instance_id)
|
19
19
|
msg = Apartment::Tenant.drop(instance_id)
|
@@ -2,7 +2,7 @@ module ZuoraConnect
|
|
2
2
|
class AppInstance < ActiveRecord::Base
|
3
3
|
after_initialize :init
|
4
4
|
before_create :generate_access_token
|
5
|
-
validates :token
|
5
|
+
validates :token
|
6
6
|
attr_accessor :options, :mode, :logins, :valid, :task_data, :last_refresh, :username, :password
|
7
7
|
|
8
8
|
def init
|