Class: Adjust::Clients::Revenue
- Includes:
- Representers::EventRepresenter
- Defined in:
- lib/adjust/clients/revenue.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(**args) ⇒ Revenue
constructor
A new instance of Revenue.
- #track! ⇒ Object
Methods included from Representers::EventRepresenter
Methods inherited from Base
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 |