Sha256: 6987bb947f2d3ae962e3b043532960934819fa0783644c551cbc59cde1aa1b19

Contents?: true

Size: 475 Bytes

Versions: 4

Compression:

Stored size: 475 Bytes

Contents

Dir[File.expand_path('../client/*.rb', __FILE__)].each{|file| require file}

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

4 entries across 4 versions & 1 rubygems

Version Path
open311-0.1.1 lib/open311/client.rb
open311-0.1.0 lib/open311/client.rb
open311-0.0.1 lib/open311/client.rb
open311-0.0.0 lib/open311/client.rb