Sha256: 0eb822067c26a7a839a8afef4b87f79ef221d38716596cb5efc6ecea3e478664

Contents?: true

Size: 504 Bytes

Versions: 2

Compression:

Stored size: 504 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

2 entries across 2 versions & 1 rubygems

Version Path
open311-0.3.1 lib/open311/client.rb
open311-0.3.0 lib/open311/client.rb