class RubyPocket::Cli::AddAction

Public Instance Methods

call(options) click to toggle source
# File lib/ruby_pocket/cli/add_action.rb, line 4
def call(options)
  creator = FavoriteCreator.new(options.values)
  creator.save

  puts "Favorite '#{creator.name}' created!"
end