Class: Served::Backends::Base
- Inherits:
-
Object
- Object
- Served::Backends::Base
- Defined in:
- lib/served/backends/base.rb
Instance Method Summary collapse
-
#initialize(client) ⇒ Base
constructor
A new instance of Base.
- #serialize_response(response) ⇒ Object
Constructor Details
#initialize(client) ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/served/backends/base.rb', line 6 def initialize(client) @client = client end |
Instance Method Details
#serialize_response(response) ⇒ Object
10 11 12 |
# File 'lib/served/backends/base.rb', line 10 def serialize_response(response) response end |