lib/easypost/report.rb in easypost-4.1.2 vs lib/easypost/report.rb in easypost-4.2.0

- old
+ new

@@ -3,9 +3,10 @@ # A Report contains a csv that is a log of all the objects created within a certain time frame. class EasyPost::Report < EasyPost::Resource # Create a Report. def self.create(params = {}, api_key = nil) url = "#{self.url}/#{params[:type]}" + wrapped_params = {} wrapped_params[class_name.to_sym] = params response = EasyPost.make_request(:post, url, api_key, params) EasyPost::Util.convert_to_easypost_object(response, api_key)