Class: VNetAPIClient::ResponseFormats::Json

Inherits:
Format
  • Object
show all
Defined in:
lib/vnet_api_client/response_format.rb

Instance Method Summary collapse

Instance Method Details

#parse(response) ⇒ Object



22
23
24
# File 'lib/vnet_api_client/response_format.rb', line 22

def parse(response)
  JSON.parse(response.body) if response.body
end