Class: Txgh::Handlers::Github::DeleteHandler

Inherits:
Handler
  • Object
show all
Includes:
CategorySupport
Defined in:
lib/txgh/handlers/github/delete_handler.rb

Instance Attribute Summary

Attributes inherited from Handler

#logger, #payload, #project, #repo

Instance Method Summary collapse

Methods included from CategorySupport

#deserialize_categories, #escape_category, #join_categories, #serialize_categories

Methods inherited from Handler

#initialize

Constructor Details

This class inherits a constructor from Txgh::Handlers::Github::Handler

Instance Method Details

#executeObject



8
9
10
11
# File 'lib/txgh/handlers/github/delete_handler.rb', line 8

def execute
  delete_resources if should_handle_request?
  respond_with(200, true)
end