Class: Stripe::Terminal::Configuration::UpdateParams::RebootWindow

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/terminal/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(end_hour: nil, start_hour: nil) ⇒ RebootWindow

Returns a new instance of RebootWindow.



292
293
294
295
# File 'lib/stripe/resources/terminal/configuration.rb', line 292

def initialize(end_hour: nil, start_hour: nil)
  @end_hour = end_hour
  @start_hour = start_hour
end

Instance Attribute Details

#end_hourObject

Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.



288
289
290
# File 'lib/stripe/resources/terminal/configuration.rb', line 288

def end_hour
  @end_hour
end

#start_hourObject

Integer between 0 to 23 that represents the start hour of the reboot time window.



290
291
292
# File 'lib/stripe/resources/terminal/configuration.rb', line 290

def start_hour
  @start_hour
end