Class: Repository
- Defined in:
- lib/ff/ruby/server/sdk/common/repository.rb
Direct Known Subclasses
Instance Method Summary collapse
- #delete_flag(identifier) ⇒ Object
- #delete_segment(identifier) ⇒ Object
- #find_flags_by_segment(identifier) ⇒ Object
- #get_flag(identifier, cacheable = true) ⇒ Object
- #get_segment(identifier, cacheable = true) ⇒ Object
-
#initialize ⇒ Repository
constructor
A new instance of Repository.
- #set_flag(identifier, feature_config) ⇒ Object
- #set_segment(identifier, segment) ⇒ Object
Methods inherited from Closeable
Constructor Details
#initialize ⇒ Repository
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
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
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
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
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
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
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
31 32 33 34 |
# File 'lib/ff/ruby/server/sdk/common/repository.rb', line 31 def set_segment(identifier, segment) raise @tbi end |