class Housecanary::API::Repository
Constants
- SALES_HISTORY_PATH
Public Instance Methods
sales_history(params = {})
click to toggle source
# File lib/housecanary/api/repository.rb, line 14 def sales_history(params = {}) if response = perform_response(:get, SALES_HISTORY_PATH, params) SalesHistory.new(response&.first&.fetch("property/sales_history".to_sym, nil)) end end
Private Instance Methods
perform_response(method, path, params = {})
click to toggle source
# File lib/housecanary/api/repository.rb, line 22 def perform_response(method, path, params = {}) _perform_response(response_parser, connection, method, path, params) end