lib/rest/api/client.rb in rest-api-client-0.1.4 vs lib/rest/api/client.rb in rest-api-client-0.1.5
- old
+ new
@@ -9,10 +9,10 @@
require 'rest/api/client/request_handler'
module RestApiClient
class RestModel
- include Virtus.model
+ include Virtus.model(:nullify_blank => true)
PATH = ''
SERVICE_KEY = ''
attr_reader :errors