Skip to content

Instantly share code, notes, and snippets.

@Downes
Created December 2, 2018 20:45
Show Gist options
  • Select an option

  • Save Downes/397ca9a8b5ed1ce3b6e0a045f7c4c2a3 to your computer and use it in GitHub Desktop.

Select an option

Save Downes/397ca9a8b5ed1ce3b6e0a045f7c4c2a3 to your computer and use it in GitHub Desktop.
JSON for Create Badge in JSON in gRSShopper
my $badge_json = qq|
{"criteriaUrl":"$badge->{criteriaUrl}",
"issuer":"$self->{badgr_issuerid}",
"name":"$badge->{badge_title}",
"image":"$badge->{image}",
"description":"$badge->{badge_description}",
"alignments": [
{"targetName":"Testing",
"targetUrl":"$badge->{criteriaUrl}",
"targetDescription":"$badge->{badge_description}",
"targetFramework":"No framework",
"targetCode":"No code"}
]}|;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment