riboseinc / ribose-api

API for Ribose
0 stars 0 forks source link

Reword `Range Codec` in API documentation #45

Open ribose-jeffreylau opened 6 years ago

ribose-jeffreylau commented 6 years ago

All mentions of Range Codec should be replaced with appropriate instructions to use id_pack.

In particular, to encode calendar_ids with the ribose-ruby client, one should do the following:

calendar_ids = [7, 8, 110, 113]
cal_ids = IdPack::IdPacker.new.encode(calendar_ids)
#=> "_H~C_Bn.J"

Somehow work the above into the API documentation.