lib/pagarme/resources/company.rb in pagarme-2.2.1 vs lib/pagarme/resources/company.rb in pagarme-2.2.2

- old
+ new

@@ -19,10 +19,10 @@ def self.company PagarMe::Request.get('/company').call end - def self.temporary - PagarMe::Request.post('/companies/temporary').call + def self.temporary(params = Hash.new) + PagarMe::Request.post('/companies/temporary', params: params).call end end end