Class: DPLibrary::Base
- Inherits:
-
Object
- Object
- DPLibrary::Base
- Includes:
- Request
- Defined in:
- lib/DPLibrary/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(response) ⇒ Base
constructor
A new instance of Base.
Methods included from Request
Methods included from Connection
Constructor Details
#initialize(response) ⇒ Base
Returns a new instance of Base.
5 6 7 |
# File 'lib/DPLibrary/base.rb', line 5 def initialize(response) JSON.parse(response) end |