Sha256: 0386129ada4a61cfa2b6b9a4ee3be0deaed48b3c15107d2dc0f1b1409ac3fd8c
Contents?: true
Size: 698 Bytes
Versions: 15
Compression:
Stored size: 698 Bytes
Contents
module TicketMaster::Provider module Yoursystem # Project class for ticketmaster-yoursystem # # class Project < TicketMaster::Provider::Base::Project #API = Yoursystem::Project # The class to access the api's projects # declare needed overloaded methods here # copy from this.copy(that) copies that into this def copy(project) project.tickets.each do |ticket| copy_ticket = self.ticket!(:title => ticket.title, :description => ticket.description) ticket.comments.each do |comment| copy_ticket.comment!(:body => comment.body) sleep 1 end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems