Sha256: ac653c4d54e4b2e62237dd460fbc9e64b94102736dae7c25fcf517cab8dc27a4
Contents?: true
Size: 536 Bytes
Versions: 11
Compression:
Stored size: 536 Bytes
Contents
module Gowalla module Items # Retrieve information about a specific item # # @param [Integer] id Item ID # @return [Hashie::Mash] item info def item(id) connection.get("/items/#{id}").body end # Retrieve events connected to a specific item # WARNING: This method uses calls not officially supported by Gowalla. # # @param [Integer] id Item ID # @return [Hashie::Mash] Array of events def item_events(id) connection.get("/items/#{id}/events").body.events end end end
Version data entries
11 entries across 11 versions & 1 rubygems