Sha256: 775a7d946e284af12df4c756d8429ed09fe7fb14edbe49b399b0e717dd8fce1c
Contents?: true
Size: 651 Bytes
Versions: 3
Compression:
Stored size: 651 Bytes
Contents
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
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mirror-api-0.0.4 | lib/mirror-api/timeline_request.rb |
mirror-api-0.0.3 | lib/mirror-api/timeline_request.rb |
mirror-api-0.0.2 | lib/mirror-api/timeline_request.rb |