Making sure flash is a hash so that is can be used to initialize OpenStuct

This commit is contained in:
Rob Harrington
2015-09-12 23:49:45 +10:00
committed by Rohan Mitchell
parent 2277b9f5a6
commit d731d4e803

View File

@@ -1,2 +1,2 @@
object OpenStruct.new(flash)
object OpenStruct.new(flash.to_hash)
attributes :info, :success, :error