Sha256: 3281288c70609cbebf9e8781ca41863e4a35111882bb28a05a313ca48ffc68d9

Contents?: true

Size: 203 Bytes

Versions: 1

Compression:

Stored size: 203 Bytes

Contents

class ProviderFactory

  def create(config)
    path = File.join File.dirname(__FILE__), 'providers', config['provider'], config['version'], 'provider.rb'
    load path
    Provider.new config
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
help_desk_dashboard-0.0.1 lib/help-desk-dashboard/provider_factory.rb