sevenwire/forgery

View on GitHub
lib/forgery/forgery/email.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Forgery::Email < Forgery

  def self.address
    Forgery::Internet.email_address
  end

  def self.subject(options={})
    Forgery::LoremIpsum.title(options)
  end

  def self.body(options={})
    quantity = options[:quantity] || (1 + rand(10))
    Forgery::LoremIpsum.paragraphs(quantity, options)
  end

end