atech-billy 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/billy.rb +1 -1
- data/lib/billy/service.rb +2 -2
- metadata +4 -4
data/lib/billy.rb
CHANGED
data/lib/billy/service.rb
CHANGED
@@ -9,8 +9,8 @@ module Billy
|
|
9
9
|
|
10
10
|
## Create a new login session and return a URL which can be used to log the user
|
11
11
|
## into the billing application
|
12
|
-
def create_session(start_path = nil, return_url = nil)
|
13
|
-
session = Billy::Request.request('services/create_session', :id => @attributes['id'], :start_path => start_path, :return_url => return_url)
|
12
|
+
def create_session(start_path = nil, return_url = nil, auto_return_after_payment = false)
|
13
|
+
session = Billy::Request.request('services/create_session', :id => @attributes['id'], :start_path => start_path, :return_url => return_url, :auto_return_after_payment => auto_return_after_payment)
|
14
14
|
session ? [Billy.host, 'start', session['token']].join('/') : false
|
15
15
|
end
|
16
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: atech-billy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-18 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: basic_ssl
|
16
|
-
requirement: &
|
16
|
+
requirement: &70365803130700 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70365803130700
|
25
25
|
description:
|
26
26
|
email: adam@atechmedia.com
|
27
27
|
executables: []
|