almodovar 0.3.2 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/almodovar.rb +4 -0
  2. metadata +5 -5
@@ -134,6 +134,10 @@ module Almodovar
134
134
 
135
135
  delegate :inspect, :to => :get!
136
136
 
137
+ def self.from_xml(xml, auth = nil)
138
+ new(nil, auth, Nokogiri.parse(xml).root)
139
+ end
140
+
137
141
  def initialize(url, auth, xml = nil, options = {})
138
142
  @url = url
139
143
  @auth = auth
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 3
8
- - 2
9
- version: 0.3.2
7
+ - 4
8
+ - 0
9
+ version: 0.4.0
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-20 00:00:00 +02:00
17
+ date: 2010-05-24 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -151,6 +151,6 @@ rubyforge_project:
151
151
  rubygems_version: 1.3.6
152
152
  signing_key:
153
153
  specification_version: 3
154
- summary: BeBanjo Movida API client
154
+ summary: BeBanjo API client
155
155
  test_files: []
156
156