Class: Repository

Inherits:
Closeable show all
Defined in:
lib/ff/ruby/server/sdk/common/repository.rb

Direct Known Subclasses

StorageRepository

Instance Method Summary collapse

Methods inherited from Closeable

#close

Constructor Details

#initializeRepository

Returns a new instance of Repository.



5
6
7
8
9
# File 'lib/ff/ruby/server/sdk/common/repository.rb', line 5

def initialize
  super

  @tbi = "To be implemented"
end

Instance Method Details

#delete_flag(identifier) ⇒ Object

Raises:

  • (@tbi)


36
37
38
39
# File 'lib/ff/ruby/server/sdk/common/repository.rb', line 36

def delete_flag(identifier)

  raise @tbi
end

#delete_segment(identifier) ⇒ Object

Raises:

  • (@tbi)


41
42
43
44
# File 'lib/ff/ruby/server/sdk/common/repository.rb', line 41

def delete_segment(identifier)

  raise @tbi
end

#find_flags_by_segment(identifier) ⇒ Object

Raises:

  • (@tbi)


21
22
23
24
# File 'lib/ff/ruby/server/sdk/common/repository.rb', line 21

def find_flags_by_segment(identifier)

  raise @tbi
end

#get_flag(identifier, cacheable = true) ⇒ Object

Raises:

  • (@tbi)


11
12
13
14
# File 'lib/ff/ruby/server/sdk/common/repository.rb', line 11

def get_flag(identifier, cacheable = true)

  raise @tbi
end

#get_segment(identifier, cacheable = true) ⇒ Object

Raises:

  • (@tbi)


16
17
18
19
# File 'lib/ff/ruby/server/sdk/common/repository.rb', line 16

def get_segment(identifier, cacheable = true)

  raise @tbi
end

#set_flag(identifier, feature_config) ⇒ Object

Raises:

  • (@tbi)


26
27
28
29
# File 'lib/ff/ruby/server/sdk/common/repository.rb', line 26

def set_flag(identifier, feature_config)

  raise @tbi
end

#set_segment(identifier, segment) ⇒ Object

Raises:

  • (@tbi)


31
32
33
34
# File 'lib/ff/ruby/server/sdk/common/repository.rb', line 31

def set_segment(identifier, segment)

  raise @tbi
end