Module: DevCycle

Defined in:
lib/devcycle-ruby-server-sdk/version.rb,
lib/devcycle-ruby-server-sdk.rb,
lib/devcycle-ruby-server-sdk/api_error.rb,
lib/devcycle-ruby-server-sdk/api/client.rb,
lib/devcycle-ruby-server-sdk/api_client.rb,
lib/devcycle-ruby-server-sdk/models/user.rb,
lib/devcycle-ruby-server-sdk/models/event.rb,
lib/devcycle-ruby-server-sdk/configuration.rb,
lib/devcycle-ruby-server-sdk/models/feature.rb,
lib/devcycle-ruby-server-sdk/models/variable.rb,
lib/devcycle-ruby-server-sdk/models/error_response.rb,
lib/devcycle-ruby-server-sdk/localbucketing/options.rb,
lib/devcycle-ruby-server-sdk/models/inline_response201.rb,
lib/devcycle-ruby-server-sdk/localbucketing/event_queue.rb,
lib/devcycle-ruby-server-sdk/localbucketing/event_types.rb,
lib/devcycle-ruby-server-sdk/localbucketing/platform_data.rb,
lib/devcycle-ruby-server-sdk/localbucketing/config_manager.rb,
lib/devcycle-ruby-server-sdk/localbucketing/events_payload.rb,
lib/devcycle-ruby-server-sdk/localbucketing/local_bucketing.rb,
lib/devcycle-ruby-server-sdk/models/user_data_and_events_body.rb,
lib/devcycle-ruby-server-sdk/localbucketing/bucketed_user_config.rb

Overview

#DevCycle Bucketing API

#Documents the DevCycle Bucketing API which provides and API interface to User Bucketing and for generated SDKs.

The version of the OpenAPI document: 1.0.0

Generated by: openapi-generator.tech OpenAPI Generator version: 5.3.0

Defined Under Namespace

Classes: ApiClient, ApiError, BucketedUserConfig, Client, ConfigManager, Configuration, ErrorResponse, Event, EventQueue, EventQueueOptions, EventsPayload, EventsRecord, Feature, InlineResponse201, LocalBucketing, Options, PlatformData, User, UserDataAndEventsBody, Variable

Constant Summary collapse

VERSION =
'3.2.0'
DVCClient =
Deprecated.

Use ‘DevCycle::Client` instead.

Client
UserData =
Deprecated.

Use ‘DevCycle::User` instead.

User
DVCOptions =
Deprecated.

Use ‘DevCycle::Options` instead.

Options
EventTypes =
{
  variable_evaluated: 'variableEvaluated',
  agg_variable_evaluated: 'aggVariableEvaluated',
  variable_defaulted: 'variableDefaulted',
  agg_variable_defaulted: 'aggVariableDefaulted'
}.freeze

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.



48
49
50
51
52
53
54
# File 'lib/devcycle-ruby-server-sdk.rb', line 48

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