This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'active_support/time' | |
require 'faker' | |
def generate_plan | |
random_date = Faker::Time.between(DateTime.now - 10.years, DateTime.now).iso8601 | |
random_date_end = Faker::Time.between(DateTime.now, DateTime.now + 2.years).iso8601 | |
{ | |
"erro": nil, | |
"produto": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
------------------------------------------------------------------------------------- | |
# CREATE SESSION | |
------------------------------------------------------------------------------------- | |
"https://woa-claro-parc.m4u.com.br/woa/rest/SegurancaExterna/v2/autenticacao/confiar" | |
http method: ? | |
pass data by: body or query params? | |
{ | |
"usuario": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'date' | |
require 'time' | |
cID = '3816' | |
dIDs = ['59c13d784ea9733a79000005', '59c13cdcd9ce2b5175000008', '59c1389a980e907e1e000001', '59c135ca4ea9735157000000', '59c13754980e907e48000007'] | |
album = 'aV9szjoe' # 2602974 | |
assets = ['1Bbbety', '1Cd5e4yurm', '1DeLUKlfmc', '1DeNDZhlkd', '1EE8FRphfz', '1EEarRoijk', '1GscQ5dqig', '1HGZBstxsn', '1HH0pbjdrx', '1HH5jlqjmo', '1IwaQlnhdb', '1IwImuwmhs', | |
'1Ix7Apkyex', '1IxgGKamnb', '1Ixk1Njbru', '1NLF6amsit', '1OSSEGbsjw', '1OSsKVixgv', '1OT4I6mlyb', '1OT9Hgyprx', '1OTPARalou', '1OUy8qpdcv', '1OWC4Nesbc', '1PbA4wtycw', | |
'1PbgWrfmer', '1qcjbSavsc', '1r8UC5ehin', '1r8V3fybag', '1RPK7Nexmb', '1RPMjIelti', '1rYJ2arobc', '1Sfeaulcvo', '1Sff0eujbs', '1Sh5XRhbno', '1UkTtclszx', '1UkVkutpca', | |
'1VNH1Iclvd', '1VNNdycxud', '1VNWHokysw', '1VOAxZqnxz', '1VOCnjudzm', '1VOEeAzbja', '1VOuCqvhcm', '1wrfsAtpcl', '1wsxEIkblo', '1wsyNvcmjl', '1xhfiibetv', '1yisjbm', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'date' | |
require 'time' | |
cID = '3816' | |
dIDs = ['59c13d784ea9733a79000005', '59c13cdcd9ce2b5175000008', '59c1389a980e907e1e000001', '59c135ca4ea9735157000000', '59c13754980e907e48000007'] | |
album = 'aV9szjoe' # 2602974 | |
assets = ['1Bbbety', '1Cd5e4yurm', '1DeLUKlfmc', '1DeNDZhlkd', '1EE8FRphfz', '1EEarRoijk', '1GscQ5dqig', '1HGZBstxsn', '1HH0pbjdrx', '1HH5jlqjmo', '1IwaQlnhdb', '1IwImuwmhs', | |
'1Ix7Apkyex', '1IxgGKamnb', '1Ixk1Njbru', '1NLF6amsit', '1OSSEGbsjw', '1OSsKVixgv', '1OT4I6mlyb', '1OT9Hgyprx', '1OTPARalou', '1OUy8qpdcv', '1OWC4Nesbc', '1PbA4wtycw', | |
'1PbgWrfmer', '1qcjbSavsc', '1r8UC5ehin', '1r8V3fybag', '1RPK7Nexmb', '1RPMjIelti', '1rYJ2arobc', '1Sfeaulcvo', '1Sff0eujbs', '1Sh5XRhbno', '1UkTtclszx', '1UkVkutpca', | |
'1VNH1Iclvd', '1VNNdycxud', '1VNWHokysw', '1VOAxZqnxz', '1VOCnjudzm', '1VOEeAzbja', '1VOuCqvhcm', '1wrfsAtpcl', '1wsxEIkblo', '1wsyNvcmjl', '1xhfiibetv', '1yisjbm', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pixel -> | |
// lID=mnoubo&mcID=undefined&cID=undefined | |
// BigQuery-> | |
// lID=mnoubo&mcID=undefined&cID=undefined | |
// Analytics Backend-> | |
// cID find the campaing using lID | |
// mcID 'media-chooser-' + lID |