Class: Rapid::Services::Requests::NullRequester

Inherits:
Object
  • Object
show all
Defined in:
lib/ury_rapid/services/requests/null_requester.rb

Overview

A Requester that installs no requests into the model structure.

This is mainly useful for development, but could also be used for NetworkServices that cannot be modified via the model.

Instance Method Summary collapse

Instance Method Details

#add_handlers(_structure) ⇒ void

This method returns an undefined value.

Pretends to add handlers into a model structure.

Examples:

Add (no) handlers into a structure.

nr = NullRequester.new
nr.add_handlers(structure)

20
21
22
# File 'lib/ury_rapid/services/requests/null_requester.rb', line 20

def add_handlers(_structure)
  # This space intentionally left blank
end