module TokBoxer class Call attr_reader :callerName, :callId, :callerJabberId, :persistent, :server alias :id :callId def initialize(callerName, callId, callerJabberId, persistent, server, api) @callerName = callerName @callId = callId @callerJabberId = callerJabberId @persistent = persistent @server = server @api = api end def embed_code(width="322", height="321") <<-END END end def to_s id end end end