lib/housecanary/api/sales_history.rb in housecanary-ruby-0.1.2 vs lib/housecanary/api/sales_history.rb in housecanary-ruby-0.1.3
- old
+ new
@@ -9,9 +9,9 @@
module API
class SalesHistory
extend Dry::Initializer
option :api_code_description, optional: true
option :api_code, optional: true
- option :result, type: Dry::Types['coercible.array'].of(Sale)
+ option :result, type: Dry::Types['coercible.array'].of(Dry.Types.Constructor(Sale))
end
end
end