Class: Flic::Client::ScanWizard

Inherits:
Object
  • Object
show all
Extended by:
Flic::Callbacks
Defined in:
lib/flic/client/scan_wizard.rb

Constant Summary

Constants included from Flic::Callbacks

Flic::Callbacks::SEMAPHORE

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#button_bluetooth_addressObject

Returns the value of attribute button_bluetooth_address.



8
9
10
# File 'lib/flic/client/scan_wizard.rb', line 8

def button_bluetooth_address
  @button_bluetooth_address
end

#button_nameObject

Returns the value of attribute button_name.



8
9
10
# File 'lib/flic/client/scan_wizard.rb', line 8

def button_name
  @button_name
end

#resultObject

Returns the value of attribute result.



8
9
10
# File 'lib/flic/client/scan_wizard.rb', line 8

def result
  @result
end

Instance Method Details

#successful?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/flic/client/scan_wizard.rb', line 13

def successful?
  result == :success
end