class Gitter::Client

Public Class Methods

new(token) click to toggle source
# File lib/gitter/client.rb, line 15
def initialize(token)
  @headers =  {
                "Content-Type" => "application/json",
                "Accept" => "application/json",
                "Authorization" => "Bearer #{token}"
              }
end