Class: AdRoll::Api::Invoice

Inherits:
Service
  • Object
show all
Defined in:
lib/adroll/invoice.rb

Class Method Summary collapse

Class Method Details

.get(invoice:) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/adroll/invoice.rb', line 5

def get(invoice:)
  params = {
    invoice: invoice
  }.reject { |_, value| value.nil? }

  call_api(:get, __method__, params)
end