Class: RubyPitaya::ServiceBase
- Defined in:
- lib/rubypitaya/core/service_base.rb,
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rubypitaya-3.12.1/lib/rubypitaya/core/service_base.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#clear_all_data ⇒ Object
17 18 19 20 21 22 |
# File 'lib/rubypitaya/core/service_base.rb', line 17 def clear_all_data environment_name = ENV.fetch('RUBYPITAYA_SERVER_ENVIRONMENT', 'development') is_test_environment = environment_name == 'test' on_clear_all_data if is_test_environment end |
#client ⇒ Object
13 14 15 |
# File 'lib/rubypitaya/core/service_base.rb', line 13 def client raise "Service client method not implemented" end |
#connect ⇒ Object
5 6 7 |
# File 'lib/rubypitaya/core/service_base.rb', line 5 def connect raise "Service connect method not implemented" end |
#disconnect ⇒ Object
9 10 11 |
# File 'lib/rubypitaya/core/service_base.rb', line 9 def disconnect raise "Service disconnect method not implemented" end |