pubnub / ruby

PubNub Ruby-based APIs
Other
122 stars 88 forks source link

Retrieve message uuid from ruby api #9

Open kayaman opened 11 years ago

kayaman commented 11 years ago

Hi,

Is there a way to get the message uuid from history through the ruby api? I see javascript api returns message, envelope and channel. I would need the uuid to store the messages locally.

Thanks!

geremyCohen commented 11 years ago

In the new gem there is also an enveloped structure. The demo app should expose it:

https://github.com/pubnub/ruby/blob/CL-4940687846367/3.3/lib/examples/demo_console.rb#L91

Check it out... lets determine what's missing, we'll figure out a workaround for you, or add the functionality to the gem.

geremy

On 7/22/13 11:24 AM, Marco Antonio Gonzalez Junior wrote:

Hi,

Is there a way to get the message uuid from history through the ruby api? I see javascript api returns message, envelope and channel. I would need the uuid to store the messages locally.

Thanks!

— Reply to this email directly or view it on GitHub https://github.com/pubnub/ruby/issues/9.

kayaman commented 11 years ago

I can't see the envelope. I get an array containing hashes. I am using pubnub (3.3.0.7). Thank you

geremyCohen commented 11 years ago

Please contact me at support@pubnub.com and I will get you on the 3.4beta gem that supports this new functionality. geremy

On 7/22/13 12:24 PM, Marco Antonio Gonzalez Junior wrote:

I can't see the envelope. I get an array containing hashes. I am using pubnub (3.3.0.7). Thank you

— Reply to this email directly or view it on GitHub https://github.com/pubnub/ruby/issues/9#issuecomment-21368981.

RookieOne commented 11 years ago

Any ETA on the 3.4 beta? I have a few issues with an existing application due to the 3.3 upgrade. Event machine related errors.

geremyCohen commented 11 years ago

@RookieOne can you try the final beta here: https://github.com/pubnub/ruby/tree/pTest ? I am trying to release within the week.

geremy

geremyCohen commented 10 years ago

@RookieOne we've released 3.4 into master, along with some docs in the README. Does it get you to where you need to be?