class CommandLineParser
Public Instance Methods
shorten(url)
click to toggle source
# File lib/parvus/cli.rb, line 11 def shorten(url) puts ButtsSo.get_short_url(url) if options[:service].eql? 'butts.so' puts Bitly.get_short_url(url) if options[:service].eql? 'bitly' end
version()
click to toggle source
# File lib/parvus/cli.rb, line 17 def version puts Parvus::VERSION end