Module: Piwik

Defined in:
lib/piwik/base.rb,
lib/piwik/site.rb,
lib/piwik/user.rb,
lib/piwik/trackable.rb

Defined Under Namespace

Modules: Trackable Classes: ApiError, Base, Config, MissingConfiguration, Site, UnknownSite, UnknownUser, User

Class Method Summary collapse

Class Method Details

.is_configured?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'lib/piwik/base.rb', line 16

def self.is_configured?
  @@piwik_url!=nil && @@auth_token!=nil
end