lib/eotb.rb in eotb-0.5.10 vs lib/eotb.rb in eotb-0.5.11
- old
+ new
@@ -4,9 +4,10 @@
require 'uri'
require 'json'
class Eotb
+ @@api_key = nil
METHODS = [:to_actor, :to_subject, :to_json, :to_hash, :inspect]
def self.configure(api_key, events = 1, host = '127.0.0.1', port = '3000')
@@api_key = api_key
@@uri = URI.parse('http://' + host + ':' + port + '/events/' + api_key)