Class: Opener::Outlet
- Inherits:
-
Object
- Object
- Opener::Outlet
- Defined in:
- lib/opener/outlet.rb,
lib/opener/outlet/output.rb,
lib/opener/outlet/server.rb,
lib/opener/outlet/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
'2.0.1'
Instance Attribute Summary collapse
-
#uuid ⇒ Object
readonly
Returns the value of attribute uuid.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Outlet
constructor
A new instance of Outlet.
- #run(input) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ Outlet
Returns a new instance of Outlet.
20 21 22 |
# File 'lib/opener/outlet.rb', line 20 def initialize( = {}) @uuid = [:request_id] || SecureRandom.hex end |
Instance Attribute Details
#uuid ⇒ Object (readonly)
Returns the value of attribute uuid.
18 19 20 |
# File 'lib/opener/outlet.rb', line 18 def uuid @uuid end |