lib/bidu/house/report.rb in bidu-house-1.0.0 vs lib/bidu/house/report.rb in bidu-house-1.1.0

- old
+ new

@@ -1,16 +1,17 @@ module Bidu module House class Report include JsonParser require 'bidu/house/report/error' + require 'bidu/house/report/range' ALLOWED_PARAMETERS = [] DEFAULT_OPTION = {} attr_reader :json json_parse :period, type: :period - json_parse :clazz, :base_scope, case: :snake + json_parse :clazz, :base_scope, :id, case: :snake def initialize(options) @json = DEFAULT_OPTION.merge(options) end