Sha256: 5ac120661da53611f548a84c311b6bdcd184b87bb268137ba81ef8df42325dc2

Contents?: true

Size: 784 Bytes

Versions: 2

Compression:

Stored size: 784 Bytes

Contents

module Sword2Ruby
  class User
  
    #Username for authenticating with the Sword server
    attr_accessor :username
    
    #On-Behalf-Of username for authenticating with the Sword server
    attr_accessor :on_behalf_of

    #Password for authenticating with the Sword server
    attr_accessor :password
    
    #Creates a new User object.
    #===Parameters
    #username:: (optional) string value of the username.
    #password:: (optional) string value of the password.
    #on_behalf_of:: (optional) string value indicating the username on whos behalf the actions will be performed.
    def initialize(username=nil, password=nil, on_behalf_of=nil)
      @username = username;
      @password = password;
      @on_behalf_of = on_behalf_of;
    end
    
  end #class
end #module

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sword2ruby-1.0.1 lib/sword2ruby/user.rb
sword2ruby-1.0.0 lib/sword2ruby/user.rb