Sha256: 233e6aa2a90838de1b4ba1debd53eab9579538fb094b1f7f4f8659aab26f513c
Contents?: true
Size: 683 Bytes
Versions: 3
Compression:
Stored size: 683 Bytes
Contents
require_relative "base" module Mirror module Api HOST = "https://www.googleapis.com" class TimelineItemRequest < Mirror::Api::Base def initialize(id, params, expected_response, creds, raise_errors=false, host=Mirror::Api::HOST, logger=nil) @id = id @params = params @expected_response = expected_response super(creds, raise_errors) end def invoke_url @invoke_url ||="#{self.host}/mirror/v1/timeline/#{@id}" 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_item_request.rb |
mirror-api-0.0.3 | lib/mirror-api/timeline_item_request.rb |
mirror-api-0.0.2 | lib/mirror-api/timeline_item_request.rb |