Class: Artichoke::Connection

Inherits:
Object
  • Object
show all
Includes:
ActiveSupport::Configurable
Defined in:
lib/artichoke/connection.rb

Class Method Summary collapse

Class Method Details

.client_passwordObject



11
12
13
# File 'lib/artichoke/connection.rb', line 11

def self.client_password
  config.password || raise("Please configure a password")
end

.client_usernameObject



7
8
9
# File 'lib/artichoke/connection.rb', line 7

def self.client_username
  config.username || raise("Please configure a username")
end