static private Method

Base.create_site_uri_from(site)

Accepts a URI and creates the site URI from that.

Source Code

# File active_resource/base.rb, line 491
def create_site_uri_from(site)
  site.is_a?(URI) ? site.dup : URI.parse(site)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.