File: faux_user.rb

package info (click to toggle)
ruby-bootstrap-form 4.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 848 kB
  • sloc: ruby: 1,482; makefile: 4
file content (9 lines) | stat: -rw-r--r-- 185 bytes parent folder | download
1
2
3
4
5
6
7
8
9
class FauxUser
  attr_accessor :email, :password, :comments, :misc

  def initialize(attributes={})
    attributes.each do |name, value|
      send("#{name}=", value)
    end
  end
end