Class: Bunto::Commands::Draft::DraftFileInfo
- Inherits:
-
Bunto::Compose::FileInfo
- Object
- Bunto::Compose::FileInfo
- Bunto::Commands::Draft::DraftFileInfo
- Defined in:
- lib/bunto/commands/draft.rb
Instance Attribute Summary
Attributes inherited from Bunto::Compose::FileInfo
Instance Method Summary collapse
Methods inherited from Bunto::Compose::FileInfo
#content, #file_name, #initialize
Constructor Details
This class inherits a constructor from Bunto::Compose::FileInfo
Instance Method Details
#path ⇒ Object
38 39 40 |
# File 'lib/bunto/commands/draft.rb', line 38 def path "_drafts/#{file_name}" end |
#resource_type ⇒ Object
34 35 36 |
# File 'lib/bunto/commands/draft.rb', line 34 def resource_type 'draft' end |