atech-billy 1.0.5 → 1.0.6
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 +6 -0
- metadata +3 -3
data/lib/billy.rb
CHANGED
data/lib/billy/service.rb
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
module Billy
|
2
2
|
class Service < BaseModel
|
3
3
|
|
4
|
+
## Update an existing service by passing new properties
|
5
|
+
def update(properties)
|
6
|
+
@attributes = Billy::Request.request('services/update', :service => @attributes['id'],:properties => properties)
|
7
|
+
true
|
8
|
+
end
|
9
|
+
|
4
10
|
## Create a new login session and return a URL which can be used to log the user
|
5
11
|
## into the billing application
|
6
12
|
def create_session(start_path = nil, return_url = nil)
|
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.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-06-01 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: basic_ssl
|
16
|
-
requirement: &
|
16
|
+
requirement: &70225877128660 !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: *70225877128660
|
25
25
|
description:
|
26
26
|
email: adam@atechmedia.com
|
27
27
|
executables: []
|