class Garb::Management::WebProperty

Attributes

entry[R]
session[R]

Public Class Methods

all(session = Session, path = '/accounts/~all/webproperties') click to toggle source
# File lib/garb/management/web_property.rb, line 10
def self.all(session = Session, path = '/accounts/~all/webproperties')
  feed = Feed.new(session, path)
  feed.entries.map { |entry| new(entry, session) }
end
for_account(account) click to toggle source
# File lib/garb/management/web_property.rb, line 15
def self.for_account(account)
  all(account.session, account.path + '/webproperties')
end
new(entry, session) click to toggle source
# File lib/garb/management/web_property.rb, line 19
def initialize(entry, session)
  @entry = entry
  @session = session
end

Public Instance Methods

goals() click to toggle source
# File lib/garb/management/web_property.rb, line 28
def goals
  @goals ||= Goal.for_web_property(self)
end
profiles() click to toggle source
# File lib/garb/management/web_property.rb, line 24
def profiles
  @profiles ||= Profile.for_web_property(self)
end