class HipTail::User

Attributes

raw[R]

Public Class Methods

create(params) click to toggle source

@return [HipTail::User]

# File lib/hiptail/atom.rb, line 14
def create(params)
  if params.is_a?(String)
    return User::Notify.new({ :name => params })
  else
    return User::Person.new(params)
  end
end
new(params) click to toggle source

@return [HipTail::User]

# File lib/hiptail/atom.rb, line 8
def initialize(params)
  @raw = params.dup
end