class MultiformatCV::Contact
Attributes
email[RW]
links[RW]
name[RW]
phone[RW]
title[RW]
Public Class Methods
new(h = {})
click to toggle source
Create Contact
instance
Example:¶ ↑
contact = MultiformatCV::Contact.new(title: 'Accountant', name: 'John Doe')
@param [Hash] h Instance initializer; keys MUST be strings @option h [String] 'name' @option h [String] 'title' @option h [String] 'email' @option h [String] 'phone' @option h [Hash<String, String>] 'links'
# File lib/multiformatcv/contact.rb, line 25 def initialize(h = {}) @name = h['name'] @title = h['title'] @email = h['email'] @phone = h['phone'] @links = h['links'] end