loco_bill 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/loco_bill/request.rb +1 -0
- metadata +6 -5
data/lib/loco_bill/request.rb
CHANGED
@@ -47,6 +47,7 @@ module LocoBill
|
|
47
47
|
# BillApi.create_vendor :vendor => {:name => 'Test'}
|
48
48
|
def params_xml(xml, params)
|
49
49
|
params.each do |k, v|
|
50
|
+
k = 'id_' if k.to_s == 'id' # nokogiri blows up if we try to call 'id', but they have this workaround
|
50
51
|
xml.send(k) {
|
51
52
|
if v.is_a?(Hash)
|
52
53
|
params_xml(xml, v)
|
metadata
CHANGED
@@ -1,21 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: loco_bill
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- chris mcc
|
14
|
+
- Rob Kaufman
|
14
15
|
autorequire:
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2010-
|
19
|
+
date: 2010-11-01 00:00:00 +00:00
|
19
20
|
default_executable:
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|
@@ -51,7 +52,7 @@ dependencies:
|
|
51
52
|
version_requirements: *id002
|
52
53
|
description: A ruby wrapper for interacting with Bill.com's developer API
|
53
54
|
email:
|
54
|
-
-
|
55
|
+
- eng@digitaladvisor.com
|
55
56
|
executables: []
|
56
57
|
|
57
58
|
extensions: []
|