Class: ServerBroadcastReport
- Inherits:
-
Object
- Object
- ServerBroadcastReport
- Defined in:
- lib/api-tester/modules/server_information.rb
Overview
Report used by module
Instance Attribute Summary collapse
-
#server_info ⇒ Object
Returns the value of attribute server_info.
-
#server_key ⇒ Object
Returns the value of attribute server_key.
Instance Method Summary collapse
-
#initialize(server_info, server_key) ⇒ ServerBroadcastReport
constructor
A new instance of ServerBroadcastReport.
- #print ⇒ Object
Constructor Details
#initialize(server_info, server_key) ⇒ ServerBroadcastReport
Returns a new instance of ServerBroadcastReport.
31 32 33 34 |
# File 'lib/api-tester/modules/server_information.rb', line 31 def initialize(server_info, server_key) self.server_info = server_info self.server_key = server_key end |
Instance Attribute Details
#server_info ⇒ Object
Returns the value of attribute server_info.
29 30 31 |
# File 'lib/api-tester/modules/server_information.rb', line 29 def server_info @server_info end |
#server_key ⇒ Object
Returns the value of attribute server_key.
29 30 31 |
# File 'lib/api-tester/modules/server_information.rb', line 29 def server_key @server_key end |
Instance Method Details
#print ⇒ Object
36 37 38 39 40 |
# File 'lib/api-tester/modules/server_information.rb', line 36 def print puts 'Found server information being broadcast in headers:' puts " #{server_info}" puts " as #{server_key}" end |