# File lib/swingshift-mongo-plugin/app/models/rest_account.rb, line 4 def initialize(username, created_on) self.username, self.created_on = username, created_on end
# File lib/swingshift-mongo-plugin/app/models/rest_account.rb, line 8 def to_xml(options={}) options[:tag_name] = "account" super(options) end