class WpPlugin

Public Instance Methods

forge_uri(target_base_uri) click to toggle source

Sets the @uri

@param [ URI ] target_base_uri The URI of the wordpress blog

@return [ void ]

# File lib/common/models/wp_plugin.rb, line 12
def forge_uri(target_base_uri)
  @uri = target_base_uri.merge(URI.encode(wp_plugins_dir + '/' + name + '/'))
end