Class: GAShikomi::Subcommand::Segments

Inherits:
Base
  • Object
show all
Defined in:
lib/ga_shikomi/subcommand/segments.rb

Instance Attribute Summary

Attributes inherited from Base

#api, #options

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from GAShikomi::Subcommand::Base

Instance Method Details

#listObject



4
5
6
# File 'lib/ga_shikomi/subcommand/segments.rb', line 4

def list
  api.execute(api.analytics.management.segments.list)['items']
end