Sha256: 8a44b7042a5fe6520a96bd02c43ab9b1174061472f3e455b8fb3f5a517359741
Contents?: true
Size: 755 Bytes
Versions: 14
Compression:
Stored size: 755 Bytes
Contents
module TicketMaster::Provider module Lighthouse # Project class for ticketmaster-lighthouse # # class Project < TicketMaster::Provider::Base::Project attr_accessor :prefix_options API = ::Lighthouse::Project # Delete this project def destroy result = super result.is_a?(Net::HTTPOK) end # 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
14 entries across 14 versions & 1 rubygems