Class: ITunes::Store::Transporter::Command::Schema
Overview
Download a RelaxNG schema file for a particular metadata specification.
Constant Summary
Constant Summary
Constants included from Option
Option::APPLE_ID, Option::DELETE_ON_SUCCESS, Option::DESTINATION, Option::ON_FAILURE, Option::ON_SUCCESS, Option::PACKAGE, Option::SHORTNAME, Option::TRANSPORT, Option::VENDOR_ID
Instance Method Summary (collapse)
-
- (Schema) initialize(*config)
constructor
A new instance of Schema.
Methods inherited from Mode
Methods inherited from Base
Constructor Details
- (Schema) initialize(*config)
A new instance of Schema
13 14 15 16 17 18 19 |
# File 'lib/itunes/store/transporter/command/schema.rb', line 13 def initialize(*config) super .on *SHORTNAME .on *DESTINATION .on :type, "-schemaType", /\A(transitional|strict)\z/i, :required => true .on :version, "-schema", /\w+/i, :required => true end |