jsonorama 0.1.1 → 0.1.2
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/jsonorama/version.rb +1 -1
- data/lib/jsonorama.rb +1 -1
- metadata +1 -1
data/lib/jsonorama/version.rb
CHANGED
data/lib/jsonorama.rb
CHANGED
|
@@ -3,7 +3,7 @@ Dir["#{File.dirname __FILE__}/jsonorama/*.rb"].each {|file| require "#{file}" }
|
|
|
3
3
|
module Jsonorama
|
|
4
4
|
#use on server and client to marshal to/from json
|
|
5
5
|
def self.json_response
|
|
6
|
-
r =
|
|
6
|
+
r = Jsonorama::JsonResponse.new
|
|
7
7
|
yield r if block_given?
|
|
8
8
|
r
|
|
9
9
|
end
|