I am using recurly gem
. Now i am trying to do update the subscriber plan recurly. Here every subscriber have unique id. How to get that id to locally. I referred the following code.
subscription = Recurly::Subscription.find('44f83d7cba354d5b84812419f923ea96')
subscription.update_attributes(
:plan_code => 'silver',
:quantity => 2,
:timeframe => 'now'
)
How to get the subscriber uuid in xml response
i.e 44f83d7cba354d5b84812419f923ea96
from recurly to local db. Help me.