class Seahorse::Client::Response
def on(range, &_block)
-
(self)-
Parameters:
-
status_code_range(Range) -- The block will be -
status_code(Integer) -- The block will be
Overloads:
-
on(status_code_range, &block) -
on(status_code, &block)
def on(range, &_block) response = self @context.http_response.on_success(range) do yield response end self end