lib/fn_ruby/models/route.rb in fn_ruby-0.1.29 vs lib/fn_ruby/models/route.rb in fn_ruby-0.1.30
- old
+ new
@@ -10,11 +10,11 @@
=end
require 'date'
-module OracleFunctions
+module Fn
class Route
# URL path that will be matched to this route
attr_accessor :path
@@ -274,10 +274,10 @@
value.each do |k, v|
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
end
end
else # model
- temp_model = OracleFunctions.const_get(type).new
+ temp_model = Fn.const_get(type).new
temp_model.build_from_hash(value)
end
end
# Returns the string representation of the object