Class: DPLibrary::Base

Inherits:
Object
  • Object
show all
Includes:
Request
Defined in:
lib/DPLibrary/base.rb

Direct Known Subclasses

DocumentCollection

Instance Method Summary collapse

Methods included from Request

#get

Methods included from Connection

#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