class GAShikomi::Subcommand::Webproperties

Public Instance Methods

get() click to toggle source

{

"id": "UA-xxxx-xx",
"websiteUrl": "",
"permissions": []

}

return

Array

# File lib/ga_shikomi/subcommand/webproperties.rb, line 27
def get
  [api.execute(api.analytics.management.webproperties.get, :accountId => options['account_id'], :webPropertyId => options['property_id'])]
end
list() click to toggle source

[{

 "id": "UA-xxxx-x",
 "internalWebPropertyId": xxxx,
 "permissions": []
 "websiteUrl": "",
}]
return

Array

# File lib/ga_shikomi/subcommand/webproperties.rb, line 14
def list
  api.execute(api.analytics.management.webproperties.list, :accountId => options["account_id"])['items']
end