Skip to content

Instantly share code, notes, and snippets.

@manlycode
Created April 8, 2014 15:07
Show Gist options
  • Save manlycode/10139395 to your computer and use it in GitHub Desktop.
Save manlycode/10139395 to your computer and use it in GitHub Desktop.
def seller_confirmation(order, seller)
@market = order.market
@order = SellerOrder.new(order, seller) # Selling users organizations only see
mail(
to: lambda { seller.users.map(:email) },
subject: "You have a new order!"
)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment