Class: DK::Adapter

Inherits:
Object
  • Object
show all
Defined in:
lib/draftking/config.rb

Direct Known Subclasses

ConfigAdapter

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Adapter

Returns a new instance of Adapter.



6
7
8
# File 'lib/draftking/config.rb', line 6

def initialize(data)
  @data = data
end

Instance Method Details

#adaptObject



10
11
12
# File 'lib/draftking/config.rb', line 10

def adapt
  # return adapted data
end