Sha256: d7c0d5bccd5c3455fe095ae6f3baa7d3c85b4f1a99faa84aeaa1c6c9625135d2

Contents?: true

Size: 501 Bytes

Versions: 5

Compression:

Stored size: 501 Bytes

Contents

require 'open311/client/connection'
require 'open311/client/request'
require 'open311/client/service'

module Open311
  class Client
    attr_accessor *Configuration::VALID_OPTIONS_KEYS

    def initialize(options={})
      options = Open311.options.merge(options)
      Configuration::VALID_OPTIONS_KEYS.each do |key|
        send("#{key}=", options[key])
      end
    end

    include Open311::Client::Connection
    include Open311::Client::Request

    include Open311::Client::Service
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
open311-0.2.3 lib/open311/client.rb
open311-0.2.2 lib/open311/client.rb
open311-0.2.1 lib/open311/client.rb
open311-0.2.0 lib/open311/client.rb
open311-0.1.2 lib/open311/client.rb