Class: Deploy::DeploymentStepLog

Inherits:
Resource
  • Object
show all
Defined in:
lib/deploy/resources/deployment_step_log.rb

Instance Attribute Summary

Attributes inherited from Resource

#attributes, #errors, #id

Class Method Summary collapse

Methods inherited from Resource

class_name, #create, #destroy, find, find_all, find_single, member_path, #method_missing, #new_record?, #post, post, #save, #update

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Deploy::Resource

Class Method Details

.collection_path(params = {}) ⇒ Object



3
4
5
# File 'lib/deploy/resources/deployment_step_log.rb', line 3

def self.collection_path(params = {})
  "projects/#{params[:project].permalink}/deployments/#{params[:deployment].identifier}/steps/#{params[:step].identifier}/logs"
end