Class: ServerBroadcastReport
- Inherits:
-
Object
- Object
- ServerBroadcastReport
- Defined in:
- lib/api-tester/modules/server_information.rb
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.
29 30 31 32 |
# File 'lib/api-tester/modules/server_information.rb', line 29 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.
26 27 28 |
# File 'lib/api-tester/modules/server_information.rb', line 26 def server_info @server_info end |
#server_key ⇒ Object
Returns the value of attribute server_key.
27 28 29 |
# File 'lib/api-tester/modules/server_information.rb', line 27 def server_key @server_key end |
Instance Method Details
#print ⇒ Object
34 35 36 37 38 |
# File 'lib/api-tester/modules/server_information.rb', line 34 def print puts "Found server information being broadcast in headers:" puts " #{self.server_info}" puts " as #{self.server_key}" end |