Module: SamplifyAPIClient

Defined in:
lib/samplify_api_client/version.rb,
lib/samplify_api_client.rb,
lib/samplify_api_client/api_error.rb,
lib/samplify_api_client/api_client.rb,
lib/samplify_api_client/models/meta.rb,
lib/samplify_api_client/api/auth_api.rb,
lib/samplify_api_client/models/event.rb,
lib/samplify_api_client/models/links.rb,
lib/samplify_api_client/api/users_api.rb,
lib/samplify_api_client/configuration.rb,
lib/samplify_api_client/models/author.rb,
lib/samplify_api_client/models/events.rb,
lib/samplify_api_client/models/status.rb,
lib/samplify_api_client/models/target.rb,
lib/samplify_api_client/api/events_api.rb,
lib/samplify_api_client/models/project.rb,
lib/samplify_api_client/models/reprice.rb,
lib/samplify_api_client/api/default_api.rb,
lib/samplify_api_client/models/projects.rb,
lib/samplify_api_client/api/projects_api.rb,
lib/samplify_api_client/models/app_error.rb,
lib/samplify_api_client/models/countries.rb,
lib/samplify_api_client/models/end_links.rb,
lib/samplify_api_client/models/reconcile.rb,
lib/samplify_api_client/models/url_param.rb,
lib/samplify_api_client/models/user_info.rb,
lib/samplify_api_client/api/countries_api.rb,
lib/samplify_api_client/models/attributes.rb,
lib/samplify_api_client/models/auth_error.rb,
lib/samplify_api_client/models/categories.rb,
lib/samplify_api_client/models/error_type.rb,
lib/samplify_api_client/models/event_data.rb,
lib/samplify_api_client/models/line_items.rb,
lib/samplify_api_client/models/quota_cell.rb,
lib/samplify_api_client/api/attributes_api.rb,
lib/samplify_api_client/api/categories_api.rb,
lib/samplify_api_client/api/line_items_api.rb,
lib/samplify_api_client/api/respondent_api.rb,
lib/samplify_api_client/models/buy_project.rb,
lib/samplify_api_client/models/feasibility.rb,
lib/samplify_api_client/models/token_media.rb,
lib/samplify_api_client/api/feasibility_api.rb,
lib/samplify_api_client/models/code_payload.rb,
lib/samplify_api_client/models/country_data.rb,
lib/samplify_api_client/models/reprice_data.rb,
lib/samplify_api_client/models/category_data.rb,
lib/samplify_api_client/models/token_payload.rb,
lib/samplify_api_client/models/attribute_data.rb,
lib/samplify_api_client/models/exclusion_data.rb,
lib/samplify_api_client/models/line_item_data.rb,
lib/samplify_api_client/models/logout_payload.rb,
lib/samplify_api_client/models/project_action.rb,
lib/samplify_api_client/models/project_report.rb,
lib/samplify_api_client/models/reconcile_data.rb,
lib/samplify_api_client/models/survey_test_id.rb,
lib/samplify_api_client/models/event_list_data.rb,
lib/samplify_api_client/models/project_reports.rb,
lib/samplify_api_client/models/quota_plan_data.rb,
lib/samplify_api_client/models/reprice_payload.rb,
lib/samplify_api_client/models/attribute_option.rb,
lib/samplify_api_client/models/buy_project_item.rb,
lib/samplify_api_client/models/create_line_item.rb,
lib/samplify_api_client/models/feasibility_data.rb,
lib/samplify_api_client/models/project_response.rb,
lib/samplify_api_client/models/quota_group_data.rb,
lib/samplify_api_client/models/survey_end_links.rb,
lib/samplify_api_client/models/survey_test_link.rb,
lib/samplify_api_client/models/update_line_item.rb,
lib/samplify_api_client/models/project_item_data.rb,
lib/samplify_api_client/models/supported_language.rb,
lib/samplify_api_client/models/line_item_item_data.rb,
lib/samplify_api_client/models/project_report_data.rb,
lib/samplify_api_client/models/targeting_attribute.rb,
lib/samplify_api_client/models/update_project_data.rb,
lib/samplify_api_client/models/buy_project_response.rb,
lib/samplify_api_client/models/buy_projects_payload.rb,
lib/samplify_api_client/models/application_item_data.rb,
lib/samplify_api_client/models/line_item_report_data.rb,
lib/samplify_api_client/models/project_category_data.rb,
lib/samplify_api_client/models/project_response_data.rb,
lib/samplify_api_client/models/refresh_token_payload.rb,
lib/samplify_api_client/models/quota_cell_feasibility.rb,
lib/samplify_api_client/models/line_item_response_data.rb,
lib/samplify_api_client/models/project_action_response.rb,
lib/samplify_api_client/models/quota_group_feasibility.rb,
lib/samplify_api_client/models/user_info_response_data.rb,
lib/samplify_api_client/models/project_survey_end_links.rb,
lib/samplify_api_client/models/update_project_line_item.rb,
lib/samplify_api_client/models/feasibility_response_data.rb,
lib/samplify_api_client/models/line_item_action_response.rb,
lib/samplify_api_client/models/project_survey_end_links_data.rb

Overview

#Samplify API

#No description provided (generated by Swagger Codegen github.com/swagger-api/swagger-codegen)

OpenAPI spec version: 1.0

Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.0

Defined Under Namespace

Classes: ApiClient, ApiError, AppError, ApplicationItemData, AttributeData, AttributeOption, Attributes, AttributesApi, AuthApi, AuthError, Author, BuyProject, BuyProjectItem, BuyProjectResponse, BuyProjectsPayload, Categories, CategoriesApi, CategoryData, CodePayload, Configuration, Countries, CountriesApi, CountryData, CreateLineItem, DefaultApi, EndLinks, ErrorType, Event, EventData, EventListData, Events, EventsApi, ExclusionData, Feasibility, FeasibilityApi, FeasibilityData, FeasibilityResponseData, LineItemActionResponse, LineItemData, LineItemItemData, LineItemReportData, LineItemResponseData, LineItems, LineItemsApi, Links, LogoutPayload, Meta, Project, ProjectAction, ProjectActionResponse, ProjectCategoryData, ProjectItemData, ProjectReport, ProjectReportData, ProjectReports, ProjectResponse, ProjectResponseData, ProjectSurveyEndLinks, ProjectSurveyEndLinksData, Projects, ProjectsApi, QuotaCell, QuotaCellFeasibility, QuotaGroupData, QuotaGroupFeasibility, QuotaPlanData, Reconcile, ReconcileData, RefreshTokenPayload, Reprice, RepriceData, RepricePayload, RespondentApi, Status, SupportedLanguage, SurveyEndLinks, SurveyTestId, SurveyTestLink, Target, TargetingAttribute, TokenMedia, TokenPayload, URLParam, UpdateLineItem, UpdateProjectData, UpdateProjectLineItem, UserInfo, UserInfoResponseData, UsersApi

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

SamplifyAPIClient.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



117
118
119
120
121
122
123
# File 'lib/samplify_api_client.rb', line 117

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end