class OMCL::AuthService

Attributes

token[RW]
type[RW]
url[RW]

Public Class Methods

new(type, input) click to toggle source
# File lib/omcl/dat.rb, line 15
def initialize(type, input)
  if type == :online
    @type  = :online
    @url   = input
  else
    @type  = :offline
    @token = input
  end
end