lib/usps/api/endpoints/ptst_pod.rb in usps-ruby-client-0.1.3 vs lib/usps/api/endpoints/ptst_pod.rb in usps-ruby-client-0.2.0

- old
+ new

@@ -20,10 +20,10 @@ # * *:email3* (String) # * *:cust_reg_id* (required, String) # * *:table_code* (required, String) # * *:client_ip* (String) # * *:source_id* (String) -def ptst_pod(options = {}) + def ptst_pod(options = {}) throw ArgumentError.new('Required arguments :ptst_pod_request missing') if options[:ptst_pod_request].nil? throw ArgumentError.new('Required arguments :ptst_pod_request, :track_id missing') if options[:ptst_pod_request][:track_id].nil? throw ArgumentError.new('Required arguments :ptst_pod_request, :mp_suffix missing') if options[:ptst_pod_request][:mp_suffix].nil? throw ArgumentError.new('Required arguments :ptst_pod_request, :mp_date missing') if options[:ptst_pod_request][:mp_date].nil? throw ArgumentError.new('Required arguments :ptst_pod_request, :request_type missing') if options[:ptst_pod_request][:request_type].nil?