Class: Adjust::Clients::Revenue

Inherits:
Base
  • Object
show all
Includes:
Representers::EventRepresenter
Defined in:
lib/adjust/clients/revenue.rb

Instance Attribute Summary

Attributes inherited from Base

#transport_engine

Instance Method Summary collapse

Methods included from Representers::EventRepresenter

#success?

Methods inherited from Base

#serialize

Constructor Details

#initialize(**args) ⇒ Revenue

Returns a new instance of Revenue.



6
7
8
# File 'lib/adjust/clients/revenue.rb', line 6

def initialize(**args)
  super args.merge(s2s: 1)
end

Instance Method Details

#track!Object



10
11
12
# File 'lib/adjust/clients/revenue.rb', line 10

def track!
  post uri: 'https://s2s.adjust.com/revenue'
end