Class: VcrStripeWebhook::EventCassette::Wait
- Inherits:
-
Object
- Object
- VcrStripeWebhook::EventCassette::Wait
- Defined in:
- lib/vcr_stripe_webhook/event_cassette.rb
Instance Attribute Summary collapse
-
#end ⇒ Object
readonly
Returns the value of attribute end.
-
#start ⇒ Object
readonly
Returns the value of attribute start.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(wait_start, wait_end) ⇒ Wait
constructor
A new instance of Wait.
- #to_h ⇒ Object
Constructor Details
#initialize(wait_start, wait_end) ⇒ Wait
Returns a new instance of Wait.
110 111 112 113 |
# File 'lib/vcr_stripe_webhook/event_cassette.rb', line 110 def initialize(wait_start, wait_end) @start = wait_start @end = wait_end end |
Instance Attribute Details
#end ⇒ Object (readonly)
Returns the value of attribute end.
108 109 110 |
# File 'lib/vcr_stripe_webhook/event_cassette.rb', line 108 def end @end end |
#start ⇒ Object (readonly)
Returns the value of attribute start.
108 109 110 |
# File 'lib/vcr_stripe_webhook/event_cassette.rb', line 108 def start @start end |
Class Method Details
Instance Method Details
#to_h ⇒ Object
115 116 117 118 119 120 |
# File 'lib/vcr_stripe_webhook/event_cassette.rb', line 115 def to_h { "start" => start, "end" => self.end } end |