Sha256: dd7b8c7477bf87cb219e5692de3b4d42d0faf4d27eeb82afc5dcfe5931609219

Contents?: true

Size: 918 Bytes

Versions: 2

Compression:

Stored size: 918 Bytes

Contents

require "legato/version"

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

unless Object.const_defined?("ActiveSupport")
  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/account'
require 'legato/management/web_property'
require 'legato/management/profile'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
legato-0.0.7 lib/legato.rb
legato-0.0.6 lib/legato.rb