Class: Open311::Client
- Inherits:
-
Object
- Object
- Open311::Client
- Defined in:
- lib/open311/client.rb,
lib/open311/client/request.rb,
lib/open311/client/service.rb,
lib/open311/client/connection.rb
Defined Under Namespace
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Client
constructor
A new instance of Client.
Methods included from Service
#get_service_request, #post_service_request, #request_id_from_token, #service_definition, #service_list, #service_requests
Methods included from Request
Constructor Details
#initialize(options = {}) ⇒ Client
Returns a new instance of Client.
9 10 11 12 13 14 |
# File 'lib/open311/client.rb', line 9 def initialize( = {}) = Open311..merge() Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", [key]) end end |