Class: Beanstalk::API::ServerEnvironment
- Defined in:
- lib/beanstalkapp/server_environment.rb
Class Method Summary collapse
Methods inherited from Base
Class Method Details
.find_all_for_repository(repo_id) ⇒ Object
5 6 7 |
# File 'lib/beanstalkapp/server_environment.rb', line 5 def self.find_all_for_repository(repo_id) find :all, :params => { :repository_id => repo_id } end |
.find_for_repository(id, repo_id) ⇒ Object
9 10 11 |
# File 'lib/beanstalkapp/server_environment.rb', line 9 def self.find_for_repository(id, repo_id) find id, :params => { :repository_id => repo_id } end |