brewster / vcardigan

Ruby vCard Builder/Parser
MIT License
71 stars 23 forks source link

How do I Add X- types such as X_SKYPE #8

Open iwarner opened 10 years ago

iwarner commented 10 years ago

As the subject really

Google want X-SKYPE:here

zealot128 commented 7 years ago

I used that with success - Apple contacts also accept it:

card.add('x-skype', 'someskypeid')
zealot128 commented 7 years ago

according to spec, x-skype uses same type info as the phone field, so also adding stuff like this should work:

card.add('x-skype', skypeid, type: 'voice,work', preferred: 1