Changed the DapticsClient.options instance variable into a @property. Setting the options property to a dict value makes sure to only update the internal _options dict, and discards any keys not in the internal _options dictionary created on __init__.
Also added set_options and set_option methods to give an alternate way to update options.
Updated test_login.py to explain the three ways to set options.
Changed the
DapticsClient.options
instance variable into a@property
. Setting theoptions
property to a dict value makes sure to only update the internal_options
dict, and discards any keys not in the internal_options
dictionary created on__init__
. Also addedset_options
andset_option
methods to give an alternate way to update options. Updated test_login.py to explain the three ways to set options.Resolves #50