Class: Leeroy::Types::Semaphore
- Includes:
- Helpers::Dumpable
- Defined in:
- lib/leeroy/types/semaphore.rb
Instance Attribute Summary
Attributes included from Helpers::Dumpable
Instance Method Summary collapse
-
#initialize(*args, &block) ⇒ Semaphore
constructor
A new instance of Semaphore.
- #to_s ⇒ Object
Methods included from Helpers::Dumpable
Methods inherited from Dash
Constructor Details
#initialize(*args, &block) ⇒ Semaphore
Returns a new instance of Semaphore.
14 15 16 17 18 19 20 21 22 |
# File 'lib/leeroy/types/semaphore.rb', line 14 def initialize(*args, &block) super self.dump_properties = [ :bucket, :object, :payload, ] end |
Instance Method Details
#to_s ⇒ Object
24 25 26 |
# File 'lib/leeroy/types/semaphore.rb', line 24 def to_s "s3://#{self.bucket}/#{self.object}" end |