Sha256: 4033521d17fe29db872fbd11621ba58a96b4ed6aef1a63eb9963ed8f252a5a85

Contents?: true

Size: 446 Bytes

Versions: 1

Compression:

Stored size: 446 Bytes

Contents

module OMCL
  class Account
    attr_accessor :auth, :user, :nick, :pass, :token

    def initialize(auth, user, pass=nil)
      @auth = auth
      @user = user
      @pass = pass
    end
  end

  class AuthService
    attr_accessor :type, :url, :token

    def initialize(type, input)
      if type == :online
        @type  = :online
        @url   = input
      else
        @type  = :offline
        @token = input
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omcl-0.0.0.1 lib/omcl/dat.rb