Class: Credits::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/credits.rb

Instance Method Summary collapse

Instance Method Details

#remaining(token, username) ⇒ Object



12
13
14
# File 'lib/credits.rb', line 12

def remaining(token, username)
  Credits.request_remaining(token, username)
end

#usage(from, to, token, username) ⇒ Object



17
18
19
# File 'lib/credits.rb', line 17

def usage(from, to, token, username)
  Credits.request_usage(from, to, token, username)
end