Sha256: c0d88752d644584715919cb472e6e2cf51ed447de63c1df17b6c17a25e574c48

Contents?: true

Size: 935 Bytes

Versions: 3

Compression:

Stored size: 935 Bytes

Contents

require "legato/version"

require 'oauth2'
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

3 entries across 3 versions & 1 rubygems

Version Path
legato-0.0.5 lib/legato.rb
legato-0.0.4 lib/legato.rb
legato-0.0.2 lib/legato.rb