Sha256: ae5c363d95d909526d2a4b95818176c2788d9c28b2cf25a2e2b2ce009d4f1f2e
Contents?: true
Size: 737 Bytes
Versions: 1
Compression:
Stored size: 737 Bytes
Contents
module Plurky module API module Timeline # Returns a status # # @see http://www.plurk.com/API#/APP/Timeline/getPlurk # @return [Hashie::Mash] The requested status. # @param id [Integer] A status ID. # @example Return the status with the ID 1001647781 # Plurky.status(1001647781) def status(id) object_from_response(:get, "/APP/Timeline/getPlurk", { :plurk_id => id }).plurk end private # @param method [Symbol] # @param url [String] # @param params [Hash] # @return [Hashie::Mash] def object_from_response(method, url, params = {}) response = send(method, url, params) response[:body] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
plurky-0.1.2 | lib/plurky/api/timeline.rb |