Class: Crashbreak::DeploysRepository

Inherits:
BaseRepository show all
Defined in:
lib/crashbreak/repositories/deploys_repository.rb

Constant Summary

Constants inherited from BaseRepository

BaseRepository::BASE_URL

Instance Method Summary collapse

Methods inherited from BaseRepository

#project_token

Constructor Details

#initialize(project_token, deploy_hash) ⇒ DeploysRepository

Returns a new instance of DeploysRepository.



5
6
7
8
# File 'lib/crashbreak/repositories/deploys_repository.rb', line 5

def initialize(project_token, deploy_hash)
  @project_token = project_token
  @deploy_hash = deploy_hash
end

Instance Method Details

#createObject



10
11
12
# File 'lib/crashbreak/repositories/deploys_repository.rb', line 10

def create
  post_request.body
end