Sha256: c6c5714bc2ed55488bdd728e65813628aa37b0930f570b91ffb58f6636a08cf1
Contents?: true
Size: 601 Bytes
Versions: 9
Compression:
Stored size: 601 Bytes
Contents
module Youroom class OAuth < Base attr_accessor :request def initialize(access_token, url=BASE_URL) @request = Request.new(access_token, url) end def entry(room_id, mutter_id=nil) request.get_entry(room_id, mutter_id) end def participation(room_id, participation_id) request.get_participation(room_id, participation_id) end def all_timeline request.get_all_timeline end def unread_timeline request.get_unread_timeline end def update(room_id, content) request.post_entry(room_id, content) end end end
Version data entries
9 entries across 9 versions & 1 rubygems