Class: Stripe::Terminal::ConfigurationService::UpdateParams::RebootWindow
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Terminal::ConfigurationService::UpdateParams::RebootWindow
- Defined in:
- lib/stripe/services/terminal/configuration_service.rb
Instance Attribute Summary collapse
-
#end_hour ⇒ Object
Integer between 0 to 23 that represents the end hour of the reboot time window.
-
#start_hour ⇒ Object
Integer between 0 to 23 that represents the start hour of the reboot time window.
Instance Method Summary collapse
-
#initialize(end_hour: nil, start_hour: nil) ⇒ RebootWindow
constructor
A new instance of RebootWindow.
Methods inherited from RequestParams
Constructor Details
#initialize(end_hour: nil, start_hour: nil) ⇒ RebootWindow
Returns a new instance of RebootWindow.
44 45 46 47 |
# File 'lib/stripe/services/terminal/configuration_service.rb', line 44 def initialize(end_hour: nil, start_hour: nil) @end_hour = end_hour @start_hour = start_hour end |
Instance Attribute Details
#end_hour ⇒ Object
Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
40 41 42 |
# File 'lib/stripe/services/terminal/configuration_service.rb', line 40 def end_hour @end_hour end |
#start_hour ⇒ Object
Integer between 0 to 23 that represents the start hour of the reboot time window.
42 43 44 |
# File 'lib/stripe/services/terminal/configuration_service.rb', line 42 def start_hour @start_hour end |