Class: ITunes::Store::Transporter::Command::Upload
- Defined in:
- lib/itunes/store/transporter/command/upload.rb
Overview
Upload a package to the iTunes Store
Constant Summary
Constants inherited from BatchMode
BatchMode::BatchOption, BatchMode::PackageOption
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
-
#initialize(*config) ⇒ Upload
constructor
A new instance of Upload.
Methods inherited from Base
Constructor Details
#initialize(*config) ⇒ Upload
Returns a new instance of Upload.
13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/itunes/store/transporter/command/upload.rb', line 13 def initialize(*config) super .on *TRANSPORT .on *SUCCESS .on *FAILURE .on *SHORTNAME .on *ITC_PROVIDER .on :delete, "-delete", Optout::Boolean .on :rate, "-k", Integer # Required if TRANSPORT is Aspera or Signiant .on :streams, "-numStreams", Integer # Only valid if TRANSPORT is Signiant .on :log_history, "-loghistory", Optout::Dir.exists end |