almodovar 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/almodovar.rb +1 -1
- metadata +3 -3
data/lib/almodovar.rb
CHANGED
@@ -107,7 +107,7 @@ module Almodovar
|
|
107
107
|
end
|
108
108
|
|
109
109
|
def create(attrs = {})
|
110
|
-
response = http.resource(
|
110
|
+
response = http.resource(url_with_params).post(attrs.to_xml(:root => object_type, :convert_links => true), :content_type => "application/xml")
|
111
111
|
Resource.new(nil, @auth, Nokogiri.parse(response.body).root)
|
112
112
|
end
|
113
113
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 1
|
9
|
+
version: 0.3.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- BeBanjo S.L.
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-05-
|
17
|
+
date: 2010-05-19 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|