Sha256: 4a665df86cc7306d9b9ff441d0796836ef9c3d1bfdd045d92e460aad38ca804e
Contents?: true
Size: 253 Bytes
Versions: 2
Compression:
Stored size: 253 Bytes
Contents
module RedmineApi class Base < ActiveResource::Base self.format = :xml def self.configure yield self end def self.token(token) self.headers['X-Redmine-API-Key'] = token end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redmine_api-0.1.1 | lib/redmine_api/base.rb |
redmine_api-0.1.0 | lib/redmine_api/base.rb |