refactor: merchant.rb