Class: Jieshun::Parking::HttpClient

Inherits:
Object
  • Object
show all
Defined in:
lib/jieshun/parking/http/http_client.rb

Direct Known Subclasses

StandardHttpClient

Instance Method Summary collapse

Instance Method Details

#post_form(server_url, headers, hash, callback) ⇒ Object

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/jieshun/parking/http/http_client.rb', line 7

def post_form(server_url, headers, hash, callback)
  raise NotImplementedError.new("You must implement this method.")
end

#post_json(server_url, headers, hash, callback) ⇒ Object

Raises:

  • (NotImplementedError)


11
12
13
# File 'lib/jieshun/parking/http/http_client.rb', line 11

def post_json(server_url, headers, hash, callback)
  raise NotImplementedError.new("You must implement this method.")
end