Method: Particle::Device#change_product
- Defined in:
- lib/particle/device.rb
#change_product(product_id, should_update = false) ⇒ boolean
Change the product_id on the device. Use this carefully, it will impact what updates you receive, and can only be used for products that have given their permission
162 163 164 |
# File 'lib/particle/device.rb', line 162 def change_product(product_id, should_update = false) @client.change_device_product(self, product_id, should_update) end |