Method: Formkeep::Form#response

Defined in:
lib/formkeep.rb

#responseString

Returns text of API call.

Returns:

  • (String)

    text of API call

Since:

  • 0.0.4



64
65
66
# File 'lib/formkeep.rb', line 64

def response
  Net::HTTP.get_response(URI(api)).body
end