Module: GoogleApi::Ga

Defined in:
lib/google_api/ga/ga.rb,
lib/google_api/ga/data.rb,
lib/google_api/ga/session.rb,
lib/google_api/ga/data/data_dsl.rb,
lib/google_api/ga/management/goal.rb,
lib/google_api/ga/data/filters_dsl.rb,
lib/google_api/ga/data/segment_dsl.rb,
lib/google_api/ga/management/account.rb,
lib/google_api/ga/management/profile.rb,
lib/google_api/ga/management/segment.rb,
lib/google_api/ga/management/management.rb,
lib/google_api/ga/management/webproperty.rb

Defined Under Namespace

Classes: Account, Data, DataDsl, FiltersDsl, Goal, Management, Profile, Segment, SegmentDsl, Session, Webproperty

Constant Summary collapse

CONFIGURATION =
{
  cache: GoogleApi::Cache.new
}
@@id =
0

Class Method Summary collapse

Class Method Details

.cacheObject



35
36
37
# File 'lib/google_api/ga/ga.rb', line 35

def self.cache
  GoogleApi.config.ga.cache
end

.id(id = nil) ⇒ Object



27
28
29
30
31
32
33
# File 'lib/google_api/ga/ga.rb', line 27

def self.id(id=nil)
  if id.nil?
    return @@id
  end
  
  @@id = id.to_i
end