lib/runcible/resources/consumer.rb in runcible-2.4.0 vs lib/runcible/resources/consumer.rb in runcible-2.5.0

- old
+ new

@@ -22,11 +22,18 @@ # Retrieves a consumer # # @param [String] id the ID of the consumer # @return [RestClient::Response] - def retrieve(id) + def retrieve(id = nil) call(:get, path(id)) + end + + # Retrieves all consumers + # + # @return [RestClient::Response] + def retrieve_all + retrieve end # Updates a consumer # # @param [String] id the ID of the consumer