biller_bot_resource 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,9 +16,9 @@ class BillerBotResource::Invoice < BillerBotResource::Resource
|
|
16
16
|
@attributes[:line_items]
|
17
17
|
end
|
18
18
|
|
19
|
-
def save
|
20
|
-
@attributes[:line_items_attributes] = @attributes.delete
|
21
|
-
@attributes[:locations_attributes] = @attributes.delete
|
19
|
+
def save(*args)
|
20
|
+
@attributes[:line_items_attributes] = @attributes.delete(:line_items)
|
21
|
+
@attributes[:locations_attributes] = @attributes.delete(:locations)
|
22
22
|
super
|
23
23
|
end
|
24
24
|
end
|
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: biller_bot_resource
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
version: 0.0.1
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.2
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Brad Seefeld
|
@@ -14,8 +10,7 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date: 2013-04-
|
18
|
-
default_executable:
|
13
|
+
date: 2013-04-30 00:00:00 Z
|
19
14
|
dependencies: []
|
20
15
|
|
21
16
|
description: Provides a set of Ruby classes for interacting with the BillerBot API
|
@@ -42,7 +37,6 @@ files:
|
|
42
37
|
- lib/biller_bot_resource/product.rb
|
43
38
|
- lib/biller_bot_resource/resource.rb
|
44
39
|
- lib/biller_bot_resource/version.rb
|
45
|
-
has_rdoc: true
|
46
40
|
homepage: https://github.com/bradseefeld/biller_bot_resource
|
47
41
|
licenses: []
|
48
42
|
|
@@ -52,23 +46,21 @@ rdoc_options: []
|
|
52
46
|
require_paths:
|
53
47
|
- lib
|
54
48
|
required_ruby_version: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
55
50
|
requirements:
|
56
51
|
- - ">="
|
57
52
|
- !ruby/object:Gem::Version
|
58
|
-
segments:
|
59
|
-
- 0
|
60
53
|
version: "0"
|
61
54
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
62
56
|
requirements:
|
63
57
|
- - ">="
|
64
58
|
- !ruby/object:Gem::Version
|
65
|
-
segments:
|
66
|
-
- 0
|
67
59
|
version: "0"
|
68
60
|
requirements: []
|
69
61
|
|
70
62
|
rubyforge_project: biller_bot_resource
|
71
|
-
rubygems_version: 1.
|
63
|
+
rubygems_version: 1.8.25
|
72
64
|
signing_key:
|
73
65
|
specification_version: 3
|
74
66
|
summary: Common resources for the BillerBot API
|