lib/cradlepoint/config.rb in cradlepoint-0.1.0 vs lib/cradlepoint/config.rb in cradlepoint-0.1.1

- old
+ new

@@ -44,10 +44,10 @@ def create_editor self.data = Cradlepoint.handle_response RestClient.post(build_url(rel_url), router.get_configuration_editor_data.to_json, content_type: :json, accept: :json) - self.id = self.data['data']['id'] + self.id = self.data[:id] self.data end def apply_config_to_editor self.data = Cradlepoint.handle_response RestClient.put(build_url(rel_url_with_id),