Skip to content

Commit ee49ecc

Browse files
committed
rate limit check
1 parent b3d8bee commit ee49ecc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

api/ruby/find-inactive-members/find_inactive_members.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def initialize(options={})
1414
if options[:check]
1515
check_app
1616
check_scopes
17+
check_rate_limit
1718
exit 0
1819
end
1920

@@ -39,6 +40,10 @@ def check_scopes
3940
info "Scopes: #{@client.scopes.join ','}\n"
4041
end
4142

43+
def check_rate_limit
44+
info "Rate limit: #{client.rate_limit}\n"
45+
end
46+
4247
def env_help
4348
output=<<-EOM
4449
Required Environment variables:

0 commit comments

Comments
 (0)