softlayer / softlayer-ruby

http://softlayer.github.io/softlayer-ruby/
MIT License
54 stars 35 forks source link

Enable serialization of nil values in structures sent to the API #117

Closed renier closed 7 years ago

renier commented 7 years ago

Nil values can be sent to the API as shown in https://softlayer.github.io/python/order_quote/. Without this change, if we tried to do the same thing in softlayer- ruby, the xmlrpc library returns an error as it is not configured to serialize nil values.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.06%) to 99.821% when pulling 4b25752999e841d5cd918e53abaac38d5b19eaca on renier:fix_serialization_of_nil into 0adc0e4f26251252be7d29234bb2c8758da83504 on softlayer:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.06%) to 99.821% when pulling 4b25752999e841d5cd918e53abaac38d5b19eaca on renier:fix_serialization_of_nil into 0adc0e4f26251252be7d29234bb2c8758da83504 on softlayer:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.06%) to 99.821% when pulling 4b25752999e841d5cd918e53abaac38d5b19eaca on renier:fix_serialization_of_nil into 0adc0e4f26251252be7d29234bb2c8758da83504 on softlayer:master.