lib/videojuicer/user.rb in vj-sdk-0.5.6 vs lib/videojuicer/user.rb in vj-sdk-0.6.0
- old
+ new
@@ -8,9 +8,10 @@
property :email, String
property :password, String
property :password_confirmation, String
property :created_at, DateTime
property :updated_at, DateTime
+ property :roles, Array, :writer => :readonly
# Authenticates the given login and password and returns
# a user if the details are correct. Requires a Master token.
def self.authenticate(login, password)
proxy = Videojuicer::OAuth::RequestProxy.new
\ No newline at end of file