Sha256: 7aedb18dd7972113f1b0cb4d2ae3caaac71e7f5d54a062f23edc143f7e0c8566
Contents?: true
Size: 328 Bytes
Versions: 1
Compression:
Stored size: 328 Bytes
Contents
module MotionParse class User < Base attribute :username, :password, :email def initialize super(PFUser.user) end def self.current if PFUser.currentUser new.tap do |u| u.parse_object = PFUser.currentUser end else return nil end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
motion-parse-0.0.1 | lib/motion-parse/user.rb |