Class: Beanstalk::API::Account
- Defined in:
- lib/beanstalkapp/account.rb
Class Method Summary collapse
-
.element_path(id = nil, prefix_options = {}, query_options = nil) ⇒ Object
ActiveResource 2.3.2 doesn’t support singular resources this hack make it work.
Methods inherited from Base
Class Method Details
.element_path(id = nil, prefix_options = {}, query_options = nil) ⇒ Object
ActiveResource 2.3.2 doesn’t support singular resources this hack make it work.
6 7 8 9 |
# File 'lib/beanstalkapp/account.rb', line 6 def self.element_path(id=nil, ={}, =nil) , = () if .nil? "#{prefix()}account.#{format.extension}#{query_string()}" end |