Class: SeeClickFix::Client

Inherits:
Object
  • Object
show all
Includes:
Comments, Connection, Issues, ServiceRequestQuestions, ServiceRequestTypes, WatchAreas, Request
Defined in:
lib/seeclickfix/client.rb,
lib/seeclickfix/connection.rb,
lib/seeclickfix/client/issues.rb,
lib/seeclickfix/client/comments.rb,
lib/seeclickfix/client/watch_areas.rb,
lib/seeclickfix/client/service_request_types.rb,
lib/seeclickfix/client/service_request_questions.rb

Defined Under Namespace

Modules: Comments, Connection, Issues, ServiceRequestQuestions, ServiceRequestTypes, WatchAreas

Instance Method Summary collapse

Methods included from WatchAreas

#watch_areas

Methods included from ServiceRequestTypes

#service_request_types

Methods included from ServiceRequestQuestions

#service_request_type_questions

Methods included from Issues

#create_issue, #issue_details, #list_issues

Methods included from Comments

#create_comment, #list_comments

Methods included from Request

#get, #post

Constructor Details

#initialize(options = {}) ⇒ Client

Returns a new instance of Client.



14
15
16
17
18
19
# File 'lib/seeclickfix/client.rb', line 14

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