module MParticle
Constants
- VERSION
Public Class Methods
configure() { |default| ... }
click to toggle source
Customize default settings for the SDK using block.
mParticle.configure do |config| config.api_key = "REPLACE WITH API KEY" config.apiScret = "REPLACE WITH API SECRET" end
If no block given, return the default Configuration
object.
# File lib/mparticle.rb, line 58 def configure if block_given? yield(Configuration.default) else Configuration.default end end