Class: Bunto::Commands::Draft::DraftFileInfo

Inherits:
Bunto::Compose::FileInfo show all
Defined in:
lib/bunto/commands/draft.rb

Instance Attribute Summary

Attributes inherited from Bunto::Compose::FileInfo

#params

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

#pathObject



38
39
40
# File 'lib/bunto/commands/draft.rb', line 38

def path
  "_drafts/#{file_name}"
end

#resource_typeObject



34
35
36
# File 'lib/bunto/commands/draft.rb', line 34

def resource_type
  'draft'
end