Method: LogicalModel::UrlHelper::ClassMethods#set_resource_url

Defined in:
lib/logical_model/url_helper.rb

#set_resource_url(new_host, new_path) ⇒ Object

Parameters:

  • new_host (String)

    resource host. Should NOT include protocol (http)

  • new_path (String)

    resource path in host



40
41
42
43
# File 'lib/logical_model/url_helper.rb', line 40

def set_resource_url(new_host,new_path)
  @host = new_host
  @resource_path = new_path
end