lib/bubbles/rest_client_resources.rb in bubbles-rest-client-0.5.0 vs lib/bubbles/rest_client_resources.rb in bubbles-rest-client-0.6.0
- old
+ new
@@ -1,11 +1,11 @@
require 'bubbles/config'
require 'bubbles/rest_environment'
module Bubbles
class RestClientResources
- def environment
- Bubbles.configuration.environment
+ def environment(env_name = nil)
+ Bubbles.configuration.environment(env_name)
end
##
# Create a new instance of +RestClientResources+.
#