Class: Adjust::Core::Tokens

Inherits:
Object
  • Object
show all
Defined in:
lib/adjust/core/tokens.rb

Instance Method Summary collapse

Constructor Details

#initialize(app, event, config) ⇒ Tokens

Returns a new instance of Tokens.



4
5
6
7
8
# File 'lib/adjust/core/tokens.rb', line 4

def initialize(app, event, config)
  @app = app.to_s
  @event = event.to_s
  @config = config[@app]
end

Instance Method Details

#findObject



10
11
12
# File 'lib/adjust/core/tokens.rb', line 10

def find
  { app_token: app_token, event_token: event_token }
end