Class: Amsi::Validator::ResidentEventValidator
- Defined in:
- lib/amsi/validator/resident_event_validator.rb
Instance Method Summary collapse
-
#initialize(response = nil) ⇒ ResidentEventValidator
constructor
A new instance of ResidentEventValidator.
-
#send_event(lease, params) ⇒ Object
Send parased response's individual resident data to Snowflake via event tracker.
- #validate! ⇒ Object
Methods inherited from Base
#import_resident_id, #is_present?, #pms_prospect_request_params, #pms_resident_request_params, #send_pms_prospect_event, #send_pms_resident_event
Constructor Details
#initialize(response = nil) ⇒ ResidentEventValidator
Returns a new instance of ResidentEventValidator.
7 |
# File 'lib/amsi/validator/resident_event_validator.rb', line 7 def initialize(response = nil); end |
Instance Method Details
#send_event(lease, params) ⇒ Object
Send parased response's individual resident data to Snowflake via event tracker
12 13 14 |
# File 'lib/amsi/validator/resident_event_validator.rb', line 12 def send_event(lease, params) send_pms_resident_event(lease: lease, params: params || {}) end |
#validate! ⇒ Object
9 |
# File 'lib/amsi/validator/resident_event_validator.rb', line 9 def validate!; end |