lib/termvana/app/models/response.rb in termvana-0.2.0.beta2 vs lib/termvana/app/models/response.rb in termvana-0.2.0.beta3
- old
+ new
@@ -1,8 +1,9 @@
module Termvana
class Response
include Virtus
attribute :message, String, :default => ""
+ attribute :data, Hash
attribute :type, Symbol, :default => :output
def to_s
attributes.to_json
end