Sha256: 3c56a32429b590e9a40535ef4f6527aa7e3fdcc35cbd8cfc94168de60410ae8c

Contents?: true

Size: 393 Bytes

Versions: 3

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

require 'dry-initializer'
require 'dry-types'

require 'housecanary/api/sale'

module Housecanary
  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(Dry.Types.Constructor(Sale))
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
housecanary-ruby-0.2.1 lib/housecanary/api/sales_history.rb
housecanary-ruby-0.2.0 lib/housecanary/api/sales_history.rb
housecanary-ruby-0.1.3 lib/housecanary/api/sales_history.rb