Skip to content

Commit

Permalink
draft new modules
Browse files Browse the repository at this point in the history
  • Loading branch information
htrgouvea committed Nov 28, 2024
1 parent 376ca5b commit e71b196
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/Sentra/Utils/Github.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package Sentra::Utils::Github {
use strict;
use warnings;

sub new {
return 1;
}
}

1;
20 changes: 20 additions & 0 deletions lib/Sentra/Utils/UserAgent.pm
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package Sentra::Utils::UserAgent {
use strict;
use warnings;
use Mojo::UserAgent;

sub new {
my $userAgent = Mojo::UserAgent -> new();

my $headers = {
'X-GitHub-Api-Version' => '2022-11-28',
'Accept' => 'application/vnd.github+json',
'User-Agent' => 'Sentra 0.0.3',
'Authorization' => "Bearer $token"
};

return "";
}
}

1;

0 comments on commit e71b196

Please sign in to comment.