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.



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

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.



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

def enabled
  @enabled
end