Sha256: 285530c996b60483f147bfc5525d2502af2dfb8d532332e1205ed9b521d813fa

Contents?: true

Size: 666 Bytes

Versions: 3

Compression:

Stored size: 666 Bytes

Contents

#require 'faraday'

require 'her'
require 'faraday_middleware'
#require 'faraday/request/xml'
require 'faraday_middleware/parse_openfire_xml'
require 'faraday_middleware/parse_openfire_json'

require "openfire/client"
require "openfire/ruby/base"
require "openfire/ruby/group"
require "openfire/ruby/user"
require "openfire/ruby/version"

#Faraday::Request.register_middleware xml: lambda { Faraday::Request::XML }
Faraday::Response.register_middleware openfire_xml: lambda { FaradayMiddleware::ParseOpenfireXml }
Faraday::Response.register_middleware openfire_json: lambda { FaradayMiddleware::ParseOpenfireJson }

module Openfire
  module Ruby
    # nop
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openfire-ruby-0.1.2 lib/openfire/ruby.rb
openfire-ruby-0.1.1 lib/openfire/ruby.rb
openfire-ruby-0.1.0 lib/openfire/ruby.rb