Sha256: f5055958cd717a25440cdaef7a8b13f62e4195f83d81cf92d66eab02ae54797a

Contents?: true

Size: 438 Bytes

Versions: 10

Compression:

Stored size: 438 Bytes

Contents

# module Legato
#   class Request
#     URL = "https://www.googleapis.com/analytics/v3/data/ga"
# 
#     def initialize(query)
#       @query = query
#     end
# 
#     def response
#       @response ||= Response.new(parsed_response)
#     end
# 
#     def parsed_response
#       MultiJson.decode(raw_response)
#     end
# 
#     def raw_response
#       @query.profile.user.get(URL, :params => @query.to_params)
#     end
#   end
# end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
legato-0.2.0 lib/legato/request.rb
legato-0.1.0 lib/legato/request.rb
legato-0.0.10 lib/legato/request.rb
legato-0.0.9 lib/legato/request.rb
legato-0.0.8 lib/legato/request.rb
legato-0.0.7 lib/legato/request.rb
legato-0.0.6 lib/legato/request.rb
legato-0.0.5 lib/legato/request.rb
legato-0.0.4 lib/legato/request.rb
legato-0.0.2 lib/legato/request.rb