Class: Spider::Test::StorageStub
- Inherits:
-
Model::Storage::BaseStorage
- Object
- Model::Storage::BaseStorage
- Spider::Test::StorageStub
- Defined in:
- lib/spiderfw/test/stubs/storage_stub.rb
Instance Attribute Summary
Attributes inherited from Model::Storage::BaseStorage
Instance Method Summary collapse
- #do_insert ⇒ Object
- #get_mapper(model) ⇒ Object
- #method_missing(method, *args) ⇒ Object
- #parse_url(url) ⇒ Object
Methods inherited from Model::Storage::BaseStorage
#==, base_types, #commit, #commit!, #commit_or_continue, #configure, #connect, #connected?, #connection, connection_alive?, connection_attributes, #connection_attributes, #connection_pool, connection_pools, #create_sequence, #curr, disconnect, #do_commit, #do_rollback, #do_start_transaction, #generate_uuid, get_connection, #in_transaction, #in_transaction?, inherited, #initialize, max_connections, new_connection, #prepare_value, #release, release_connection, remove_connection, #rollback, #rollback!, #rollback_savepoint, #savepoint, #sequence_exists?, #sequence_file_path, #sequence_next, sequence_sync, #start_transaction, storage_type, #supports?, supports?, #supports_transactions?, #transactions_enabled?, #update_sequence, #value_for_condition, #value_for_save, #value_to_mapper
Methods included from Logger
add, close, close_all, datetime_format, datetime_format=, #debug, debug, debug?, #debug?, enquire_loggers, #error, error, #error?, error?, #fatal, fatal, #fatal?, fatal?, info, #info, info?, #info?, method_missing, open, reopen, send_to_loggers, unknown, #unknown, #warn, warn, warn?, #warn?
Constructor Details
This class inherits a constructor from Spider::Model::Storage::BaseStorage
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
15 16 |
# File 'lib/spiderfw/test/stubs/storage_stub.rb', line 15 def method_missing(method, *args) end |
Instance Method Details
#do_insert ⇒ Object
18 19 |
# File 'lib/spiderfw/test/stubs/storage_stub.rb', line 18 def do_insert end |
#get_mapper(model) ⇒ Object
8 9 10 |
# File 'lib/spiderfw/test/stubs/storage_stub.rb', line 8 def get_mapper(model) mapper = Spider::Test::MapperStub.new(model, self) end |
#parse_url(url) ⇒ Object
12 13 |
# File 'lib/spiderfw/test/stubs/storage_stub.rb', line 12 def parse_url(url) end |