lib/mixpanel/client.rb
# Return a hash of options along with defaults and a generated signature
#
# @return [Hash] collection of options including defaults and generated
#         signature
Return a hash of options along with defaults and a generated signature
Return a hash of options along with defaults and a generated signature
def normalize_options(options)
      normalized_options = options.dup
      normalized_options
        .merge!(
          format:  @format,
          api_key: @api_key,
          expire:  request_expires_at(normalized_options)
        )
        .merge!(
          sig: Utils.generate_signature(normalized_options, @api_secret)
        )
    end
def normalize_options ( options ) normalized_options = options . dup normalized_options . merge! ( format : @format , api_key : @api_key , expire : request_expires_at ( normalized_options ) ) . merge! ( sig : Utils . generate_signature ( normalized_options , @api_secret ) ) end
Return a hash of options along with defaults and a generated signature
Return a hash of options along with defaults and a generated signature
collection of options including defaults and generated signature
collection of options including defaults and generated signature
Hash
options
<not_specific>