Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NASA-47] Criar método link #1

Merged
merged 1 commit into from
Feb 2, 2018
Merged

[NASA-47] Criar método link #1

merged 1 commit into from
Feb 2, 2018

Conversation

pdropaiva
Copy link
Contributor

Contexto

Criar método link em PHP para acessar a API REST link da Dito.

Como testar

  • Ir no arquivo identify.php dentro da pasta examples
  • Adicionar um identify seguido de um link:
$dito->identify(array(
  'id' => [REFERENCE],
  'name' => 'Nome',
  'email' => 'email',
  'data' => array(
    'cargo' => 'cargo'
  )
));

$dito->link(array(
  'id' => [REFERENCE],
  'accounts' => array(
    'portal' => array(
      'id' => [ID_DO_USUARIO],
    )
  )
));

Impactos no Deploy

N/A

@pdropaiva pdropaiva merged commit 5fdcd63 into master Feb 2, 2018
@pdropaiva pdropaiva deleted the NASA-47 branch February 2, 2018 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants