lib/moip2/invoice_api.rb in moip2-1.2.0 vs lib/moip2/invoice_api.rb in moip2-1.2.1

- old
+ new

@@ -30,9 +30,12 @@ encoded_filters = Moip2::Util::FiltersEncoder.encode(filters) # `URI.encode...` will accept nil params, but they will pollute the URI params = { + email: email, + begin_date: begin_date, + end_date: end_date, limit: limit, offset: offset, q: q, filters: encoded_filters, }.reject { |_, value| value.nil? }