module Ito

Constants

VERSION

Public Instance Methods

basic_auth() click to toggle source
# File lib/ito.rb, line 10
def basic_auth
  authenticate_or_request_with_http_basic do |user_name, password|
    user_name == ENV['USER_NAME'] && password == ENV['PASSWORD']
  end
end