Class: Stripe::Terminal::ConfigurationService::UpdateParams::Offline

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/terminal/configuration_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(enabled: nil) ⇒ Offline

Returns a new instance of Offline.



33
34
35
# File 'lib/stripe/services/terminal/configuration_service.rb', line 33

def initialize(enabled: nil)
  @enabled = enabled
end

Instance Attribute Details

#enabledObject

Determines whether to allow transactions to be collected while reader is offline. Defaults to false.



31
32
33
# File 'lib/stripe/services/terminal/configuration_service.rb', line 31

def enabled
  @enabled
end