Module: Limeade

Defined in:
lib/limeade.rb,
lib/limeade/client.rb,
lib/limeade/errors.rb,
lib/limeade/methods.rb,
lib/limeade/version.rb,
lib/limeade/json_rpc.rb

Defined Under Namespace

Classes: APIError, Client, DisconnectedError, Error, InvalidCredentialsError, InvalidResponseError, JSON_RPC, NoSessionError, ServerError

Constant Summary collapse

API_METHODS =
(<<_API_METHODS
activate_survey
activate_tokens
add_group
add_language
add_participants
add_response
add_survey
copy_survey
cpd_importParticipants
delete_group
delete_language
delete_participants
delete_question
delete_survey
export_responses
export_responses_by_token
export_statistics
export_timeline
get_group_properties
get_language_properties
get_participant_properties
get_question_properties
get_response_ids
get_session_key
get_site_settings
get_summary
get_survey_properties
get_uploaded_files
import_group
import_question
import_survey
invite_participants
list_groups
list_participants
list_questions
list_surveys
list_users
mail_registered_participants
release_session_key
remind_participants
set_group_properties
set_language_properties
set_participant_properties
set_question_properties
set_quota_properties
set_survey_properties
update_response
upload_file
_API_METHODS
).split("\n").map(&:to_sym).freeze
VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.loggerObject



9
10
11
# File 'lib/limeade.rb', line 9

def self.logger
  @logger ||= ::Logger.new($stdout)
end

.logger=(logger) ⇒ Object



13
14
15
# File 'lib/limeade.rb', line 13

def self.logger=(logger)
  @logger = logger
end