Class: DK::Adapter
- Inherits:
-
Object
- Object
- DK::Adapter
- Defined in:
- lib/draftking/config.rb
Direct Known Subclasses
Instance Method Summary collapse
- #adapt ⇒ Object
-
#initialize(data) ⇒ Adapter
constructor
A new instance of Adapter.
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
#adapt ⇒ Object
10 11 12 |
# File 'lib/draftking/config.rb', line 10 def adapt # return adapted data end |