class Silw::Authenticate

Public Class Methods

with(auth_options, &block) click to toggle source
# File lib/silw.rb, line 27
def self.with(auth_options, &block)      
  cmd = Command.new(auth_options)
  if block_given?
    block.call(cmd)
  end
  cmd
end