nuntium_api 0.18 → 0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/nuntium.rb +2 -2
- metadata +3 -3
data/lib/nuntium.rb
CHANGED
|
@@ -112,7 +112,7 @@ class Nuntium
|
|
|
112
112
|
raise Nuntium::Exception.new error.message if error
|
|
113
113
|
|
|
114
114
|
channels = JSON.parse response.body
|
|
115
|
-
channels.
|
|
115
|
+
channels.map! do |channel|
|
|
116
116
|
read_configuration channel
|
|
117
117
|
with_indifferent_access channel
|
|
118
118
|
end
|
|
@@ -296,7 +296,7 @@ class Nuntium
|
|
|
296
296
|
raise Nuntium::Exception.new error.message if error
|
|
297
297
|
|
|
298
298
|
channels = JSON.parse response.body
|
|
299
|
-
channels.
|
|
299
|
+
channels.map! do |channel|
|
|
300
300
|
read_configuration channel
|
|
301
301
|
with_indifferent_access channel
|
|
302
302
|
end
|
metadata
CHANGED