Sha256: ed4c8580fef95be21f67b8c62190019a5db12e22b9481c740a4002869e2c43a0

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

require "legato/version"

require 'multi_json'
require 'cgi'
require 'ostruct'

if Object.const_defined?("ActiveSupport")
  require "active_support/core_ext/string"
  require "active_support/core_ext/array"
else
  require "legato/core_ext/string"
  require "legato/core_ext/array"
end

module Legato
  module Management
  end

  def self.to_ga_string(str)
    "#{$1}ga:#{$2}" if str.to_s.camelize(:lower) =~ /^(-)?(.*)$/
  end

  def self.from_ga_string(str)
    str.gsub("ga:", '')
  end

  def self.format_time(t)
    t.strftime('%Y-%m-%d')
  end

  def self.and_join_character
    ';'
  end

  def self.or_join_character
    ','
  end
end

require 'legato/user'
require 'legato/profile_methods'

require 'legato/management/finder'
require 'legato/management/segment'
require 'legato/management/account'
require 'legato/management/web_property'
require 'legato/management/profile'
require 'legato/management/goal'

require 'legato/list_parameter'
require 'legato/response'
require 'legato/filter'
require 'legato/filter_set'
require 'legato/query'
require 'legato/model'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
legato-0.3.0 lib/legato.rb