lib/pp-adaptive/support/json_model.rb in pp-adaptive-0.0.6 vs lib/pp-adaptive/support/json_model.rb in pp-adaptive-1.0.0

- old
+ new

@@ -37,10 +37,10 @@ # It's possible to repeatedly create aliases like this, by chaining them together through multiple levels of the object # graph. The Adaptive Payments API is rather deeply nested and verbose by default, so to be a little easier to use and # feel more ruby-esque, pp-adaptive define aliases where it seems logical to do so. The fully qualified paths will always # work, however. class JsonModel - include Virtus + include Virtus.model extend Aliases # Methods used for building a JsonModel given a JSON string. module Parsing # Process JSON input and return a JsonModel for the data.