Class: Acquia::Cloud::Logs::Source
- Inherits:
-
Object
- Object
- Acquia::Cloud::Logs::Source
- Defined in:
- lib/acquia/cloud/logs/source.rb
Instance Attribute Summary collapse
-
#display_type ⇒ Object
readonly
Returns the value of attribute display_type.
-
#server ⇒ Object
readonly
Returns the value of attribute server.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(server, type, display_type) ⇒ Source
constructor
A new instance of Source.
Constructor Details
#initialize(server, type, display_type) ⇒ Source
Returns a new instance of Source.
9 10 11 12 13 |
# File 'lib/acquia/cloud/logs/source.rb', line 9 def initialize(server, type, display_type) @server = server @type = type @display_type = display_type end |
Instance Attribute Details
#display_type ⇒ Object (readonly)
Returns the value of attribute display_type.
7 8 9 |
# File 'lib/acquia/cloud/logs/source.rb', line 7 def display_type @display_type end |
#server ⇒ Object (readonly)
Returns the value of attribute server.
5 6 7 |
# File 'lib/acquia/cloud/logs/source.rb', line 5 def server @server end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
6 7 8 |
# File 'lib/acquia/cloud/logs/source.rb', line 6 def type @type end |