Class: Telesign::ApiRequest
- Inherits:
-
Object
- Object
- Telesign::ApiRequest
show all
- Defined in:
- lib/telesign/api_request.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.request_method(method = nil) ⇒ Object
9
10
11
12
|
# File 'lib/telesign/api_request.rb', line 9
def self.request_method(method = nil)
@request_method ||= method
@request_method
end
|
Instance Method Details
#call ⇒ Object
14
15
16
|
# File 'lib/telesign/api_request.rb', line 14
def call
driver.send(self.class.request_method, self)
end
|