lolitra 0.1.0b → 0.1.0c
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/lolitra/handler_base.rb +4 -1
- data/lib/lolitra/version.rb +1 -1
- metadata +3 -3
data/lib/lolitra/handler_base.rb
CHANGED
@@ -201,7 +201,10 @@ module Lolitra
|
|
201
201
|
end
|
202
202
|
|
203
203
|
def initialize(hash={})
|
204
|
-
hash.each { |key, value|
|
204
|
+
hash.each { |key, value|
|
205
|
+
method = "#{MessageHandler::Helpers.underscore(key)}="
|
206
|
+
self.send(method, value) if self.respond_to?(method)
|
207
|
+
}
|
205
208
|
end
|
206
209
|
|
207
210
|
def to_hash
|
data/lib/lolitra/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 0c
|
9
|
+
version: 0.1.0c
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Hugo Freire
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date:
|
17
|
+
date: 2014-06-17 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|