Class: GoogleApi::Ga::Management

Inherits:
Object
  • Object
show all
Defined in:
lib/google_api/ga/management/management.rb

Direct Known Subclasses

Account, Goal, Profile, Segment, Webproperty

Constant Summary collapse

@@session =
Session

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#createdObject (readonly)

Returns the value of attribute created.



9
10
11
# File 'lib/google_api/ga/management/management.rb', line 9

def created
  @created
end

#idObject (readonly)

Returns the value of attribute id.



7
8
9
# File 'lib/google_api/ga/management/management.rb', line 7

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/google_api/ga/management/management.rb', line 8

def name
  @name
end

#updatedObject (readonly)

Returns the value of attribute updated.



10
11
12
# File 'lib/google_api/ga/management/management.rb', line 10

def updated
  @updated
end

Instance Method Details

#camelize(string) ⇒ Object



12
13
14
15
16
# File 'lib/google_api/ga/management/management.rb', line 12

def camelize(string)
  string = string.downcase.split('_').map!(&:capitalize).join
  string[0] = string[0].downcase
  string
end