fixed a bugs in all samples after new release Ruby SDK
fixed all samples after new release ruby SDK