Retrieve the most recent status of previously uploaded packages
Methods
Class Public methods
new(*config)
Link
Source: show
# File lib/itunes/store/transporter/command/status.rb, line 13 def initialize(*config) super options.on :vendor_id, "-vendor_ids", /\w/, :multiple => true options.on :apple_id, "-apple_ids", /\w/, :multiple => true options.on :format, "-outputFormat", %w[xml] end
Instance Protected methods
create_transporter_options(optz)
Link
Source: show
# File lib/itunes/store/transporter/command/status.rb, line 22 def create_transporter_options(optz) optz[:format] = "xml" super end
handle_success(stdout_lines, stderr_lines, options)
Link
Source: show
# File lib/itunes/store/transporter/command/status.rb, line 27 def handle_success(stdout_lines, stderr_lines, options) # Pre-XML behavior. Not sure if it should be kept. return [] if stdout_lines.empty? begin XML::Status.new.parse(stdout_lines.join("")) rescue ParseError => e raise TransporterError, e.message end end