Sha256: 7456f711d9f90eda4ca0cafa6e227efd9fcda08d1b633a0738111cda6704f44f

Contents?: true

Size: 570 Bytes

Versions: 1

Compression:

Stored size: 570 Bytes

Contents

module Salesforceclient
	class Lead
		attr_reader :name
		attr_reader :last_name
		attr_reader :email
		attr_reader :company
		attr_reader :job_title
		attr_reader :phone
		attr_reader :website

		def initialize(name, last_name, email, company, job_title, phone, website)
			@name = name
			@last_name = last_name
			@email = email
			@company = company
			@job_title = job_title
			@phone = phone
			@website = website 
		end

		def print
			puts @name
			puts @last_name
			puts @email
			puts @company
			puts @job_title
			puts @phone
			puts @website
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
salesforceclient-0.0.1 lib/salesforceclient/lead.rb