Sha256: 6b2365786b5a7a7edbd260998de74faab43c5f8355976369339927f6777007ef

Contents?: true

Size: 769 Bytes

Versions: 23

Compression:

Stored size: 769 Bytes

Contents

require_relative "inner_client"
require_relative "repository_callback"

class InnerClientRepositoryCallback < RepositoryCallback

  def initialize(logger = nil)

    if logger != nil

      @logger = logger
    else

      @logger = Logger.new(STDOUT)
    end
  end

  def on_flag_stored(identifier)

    @logger.debug "On flag stored: " + identifier

    # TODO: Notify consumers
  end

  def on_flag_deleted(identifier)

    @logger.debug "On flag deleted: " + identifier

    # TODO: Notify consumers
  end

  def on_segment_stored(identifier)

    @logger.debug "On segment stored: " + identifier

    # TODO: Notify consumers
  end

  def on_segment_deleted(identifier)

    @logger.debug "On segment deleted: " + identifier

    # TODO: Notify consumers
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ff-ruby-server-sdk-1.4.5 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.4.4 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.4.3 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.4.2 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.4.1 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.4.0 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.3.2 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.3.1 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.2.1 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.2.0 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.1.4 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.1.3 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.1.2 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.1.1 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.1.0 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.0.6 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.0.5 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.0.4 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.0.3 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb
ff-ruby-server-sdk-1.0.2 lib/ff/ruby/server/sdk/api/inner_client_repository_callback.rb