require_relative "base" module Mirror module Api HOST = "https://www.googleapis.com" class TimelineRequest < Mirror::Api::Base def initialize(params, expected_response, creds, raise_errors=false, host=Mirror::Api::HOST, logger=nil) @params = params @expected_response = expected_response super(creds, raise_errors) end def invoke_url @invoke_url ||="#{self.host}/mirror/v1/timeline" end def params @params ||={} end def ret_val Hashie::Mash.new(@data) end def expected_response @expected_response end end end end