Class: ActiveResource::Base
- Inherits:
-
Object
- Object
- ActiveResource::Base
- Defined in:
- lib/eco_apps/extensions/active_resource.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.set_site ⇒ Object
4 |
# File 'lib/eco_apps/extensions/active_resource.rb', line 4 alias_method :set_site, :site= |
.site=(site) ⇒ Object
6 7 8 9 |
# File 'lib/eco_apps/extensions/active_resource.rb', line 6 def site=(site) site = CoreService.app(site.to_s).url if site.is_a?(Symbol) set_site(site) end |