Class: Tessera::Request

Inherits:
Object
  • Object
show all
Defined in:
lib/tessera/request.rb

Instance Method Summary collapse

Constructor Details

#initialize(method, endpoint, body) ⇒ Request

Returns a new instance of Request.



21
22
23
24
25
# File 'lib/tessera/request.rb', line 21

def initialize(method, endpoint, body)
  @method = method
  @endpoint = endpoint
  @body = body
end

Instance Method Details

#sendObject



27
28
29
30
# File 'lib/tessera/request.rb', line 27

def send
  net_http_send
  # Response.new(net_http_send)
end