Class: Callapi::Call::Request::Base

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/callapi/call/request/base.rb

Direct Known Subclasses

Http, Mock

Instance Method Summary collapse

Constructor Details

#initialize(context) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/callapi/call/request/base.rb', line 6

def initialize(context)
  @context = context
end

Instance Method Details

#responseObject

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/callapi/call/request/base.rb', line 10

def response
  raise NotImplementedError
end