lib/surveygizmo/client.rb in surveygizmo-0.0.1 vs lib/surveygizmo/client.rb in surveygizmo-0.0.2
- old
+ new
@@ -1,5 +1,7 @@
+require 'surveygizmo/configurable'
+
module Surveygizmo
# Wrapper for the Surveygizmo REST API
#
# @note All methods have been separated into modules and follow the same grouping used in {http://developer.surveygizmo.com/resources/rest-api-documentation-version-1-01/api-objects/ the Surveygizmo API Documentation}.
# @see http://developer.surveygizmo.com/resources/rest-api-documentation-version-1-01/
@@ -7,21 +9,27 @@
# Require client method modules after initializing the Client class in
# order to avoid a superclass mismatch error, allowing those modules to be
# Client-namespaced.
require 'surveygizmo/client/account'
require 'surveygizmo/client/account_user'
+ require 'surveygizmo/client/contact'
require 'surveygizmo/client/filter'
require 'surveygizmo/client/survey'
require 'surveygizmo/client/survey_campaign'
require 'surveygizmo/client/survey_response'
+ require 'surveygizmo/client/survey_question'
+ require 'surveygizmo/client/survey_statistic'
alias :api_endpoint :endpoint
+ include Surveygizmo::Configurable
include Surveygizmo::Client::Account
include Surveygizmo::Client::AccountUser
+ include Surveygizmo::Client::Contact
include Surveygizmo::Client::Filter
include Surveygizmo::Client::Survey
include Surveygizmo::Client::SurveyCampaign
include Surveygizmo::Client::SurveyResponse
-
+ include Surveygizmo::Client::SurveyQuestion
+ include Surveygizmo::Client::SurveyStatistic
end
-end
\ No newline at end of file
+end