Exception: Aspera::Cli::SchemaRequest
- Defined in:
- lib/aspera/cli/manager.rb
Overview
Exception raised when schema is asked (‘help`)
Instance Attribute Summary collapse
-
#path ⇒ String?
readonly
Path to schema file.
Instance Method Summary collapse
-
#initialize(type, name, schema_path) ⇒ SchemaRequest
constructor
A new instance of SchemaRequest.
Constructor Details
#initialize(type, name, schema_path) ⇒ SchemaRequest
Returns a new instance of SchemaRequest.
23 24 25 26 |
# File 'lib/aspera/cli/manager.rb', line 23 def initialize(type, name, schema_path) super("#{type}: #{name}") @path = schema_path end |
Instance Attribute Details
#path ⇒ String? (readonly)
Returns path to schema file.
18 19 20 |
# File 'lib/aspera/cli/manager.rb', line 18 def path @path end |