Class: ITunes::Store::Transporter::Command::Schema
- Defined in:
- lib/itunes/store/transporter/command/schema.rb
Overview
Download a RelaxNG schema file for a particular metadata specification.
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
-
#initialize(*config) ⇒ Schema
constructor
A new instance of Schema.
Methods inherited from Base
Constructor Details
#initialize(*config) ⇒ Schema
Returns a new instance of Schema.
13 14 15 16 17 18 19 20 21 |
# File 'lib/itunes/store/transporter/command/schema.rb', line 13 def initialize(*config) super .on *SHORTNAME .on *ITC_PROVIDER .on *DESTINATION .on :type, "-schemaType", /\A(transitional|strict)\z/i, :required => true .on :version, "-schema", /\w+/i, :required => true end |