Sha256: aff2492ecec1b34031af1282922b21a56b4d7e834aeef2867856f52e1c439d9b
Contents?: true
Size: 513 Bytes
Versions: 1
Compression:
Stored size: 513 Bytes
Contents
module Kindling class Campfire attr_accessor :api_token, :subdomain, :room_id, :ssl def initialize(api_token, subdomain, room_id, ssl=false) @api_token = api_token @subdomain = subdomain @room_id = room_id @ssl = ssl rooms end def rooms Kindling::Request.rooms(self) end def speak(message) Kindling::Request.speak(message, self) end def credentials {:username => @api_token, :password => 'x'} end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kindling-0.0.3 | lib/kindling/campfire.rb |