Class: ITunes::Store::Transporter::Command::Status

Inherits:
Mode
  • Object
show all
Defined in:
lib/itunes/store/transporter/command/status.rb

Overview

Retrieve the most recent status of previously uploaded packages

Direct Known Subclasses

StatusAll

Constant Summary

Constants included from Option

Option::APPLE_ID, Option::DESTINATION, Option::FAILURE, Option::ITC_PROVIDER, Option::SHORTNAME, Option::SUCCESS, Option::TRANSPORT, Option::VENDOR_ID

Instance Method Summary collapse

Methods inherited from Base

#run

Constructor Details

#initialize(*config) ⇒ Status

Returns a new instance of Status.


13
14
15
16
17
18
19
20
# File 'lib/itunes/store/transporter/command/status.rb', line 13

def initialize(*config)
  super
  options.on *SHORTNAME
  options.on *ITC_PROVIDER
  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