Class: HttpStub::Server::Scenario::Trigger
- Inherits:
-
Object
- Object
- HttpStub::Server::Scenario::Trigger
- Defined in:
- lib/http_stub/server/scenario/trigger.rb
Instance Attribute Summary collapse
-
#links ⇒ Object
readonly
Returns the value of attribute links.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Trigger
constructor
A new instance of Trigger.
Constructor Details
#initialize(name) ⇒ Trigger
Returns a new instance of Trigger.
9 10 11 12 |
# File 'lib/http_stub/server/scenario/trigger.rb', line 9 def initialize(name) @name = name @links = HttpStub::Server::Scenario::Links.new(name) end |
Instance Attribute Details
#links ⇒ Object (readonly)
Returns the value of attribute links.
7 8 9 |
# File 'lib/http_stub/server/scenario/trigger.rb', line 7 def links @links end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/http_stub/server/scenario/trigger.rb', line 7 def name @name end |