Class: Crashbreak::DeploysRepository
- Inherits:
-
BaseRepository
- Object
- BaseRepository
- Crashbreak::DeploysRepository
- Defined in:
- lib/crashbreak/repositories/deploys_repository.rb
Constant Summary
Constants inherited from BaseRepository
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize(project_token, deploy_hash) ⇒ DeploysRepository
constructor
A new instance of DeploysRepository.
Methods inherited from BaseRepository
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
#create ⇒ Object
10 11 12 |
# File 'lib/crashbreak/repositories/deploys_repository.rb', line 10 def create post_request.body end |