blob: dc0669a202e96e727076471878135eeb74c88eb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
require 'nickserver/adapters/celluloid_http'
module Nickserver
class Source
DEFAULT_ADAPTER_CLASS = Nickserver::Adapters::CelluloidHttp
def initialize(adapter = DEFAULT_ADAPTER_CLASS.new)
@adapter = adapter
end
protected
attr_reader :adapter
end
end
|