wrstudios / reso_transport

A wrapper for interacting with RESO WebAPI
MIT License
7 stars 6 forks source link

Ensure `s` is a string when splitting #5

Closed coderberry closed 3 years ago

coderberry commented 4 years ago

When using this gem, I found that one of our MLSes had one field that passed nil to this method for the attribute ModificationTimestamp

Here is the property struct that caused the issue:

#<struct ResoTransport::Property name="ModificationTimestamp", data_type=nil, attrs={"Name"=>"ModificationTimestamp", "MaxLength"=>"27", :schema=>#<struct ResoTransport::Schema namespace="ODataService">}, multi=nil, enum=nil, complex_type=nil, entity_type=nil>