lib/rixml.rb in rixml-0.2.1 vs lib/rixml.rb in rixml-0.2.2

- old
+ new

@@ -32,11 +32,11 @@ def status_info time_str = current_status_info&.dig('statusDateTime') || DateTime.now.to_s status = current_status_info&.dig('statusType')&.downcase&.to_sym || :published { - status: status, - date: Time.parse(time_str).to_datetime.to_s + status_type: status, + status_date_time: Time.parse(time_str).to_datetime.to_s } end # @deprecated Please use {#status_info} instead def publication_date