Created
April 23, 2020 15:36
-
-
Save yogonza524/207eb699952bf2cb7d443b7157241430 to your computer and use it in GitHub Desktop.
This file contains 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
@SpringBootApplication | |
public class MpSampleApplication implements CommandLineRunner { | |
public static void main(String[] args) { | |
SpringApplication.run(MpSampleApplication.class, args); | |
} | |
@Override | |
public void run(String... args) throws Exception { | |
MercadoPago.SDK.setAccessToken(System.getenv("MP_ACCESS_TOKEN")); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment