class RestAccount

Attributes

created_on[RW]
username[RW]

Public Class Methods

new(username, created_on) click to toggle source
# File lib/openshift-origin-auth-mongo/app/models/rest_account.rb, line 4
def initialize(username, created_on)
  self.username, self.created_on = username, created_on
end

Public Instance Methods

to_xml(options={}) click to toggle source
# File lib/openshift-origin-auth-mongo/app/models/rest_account.rb, line 8
def to_xml(options={})
  options[:tag_name] = "account"
  super(options)
end