Class: DmAdapterSimpledb::Utils::NullSdbInterface
- Inherits:
-
Object
- Object
- DmAdapterSimpledb::Utils::NullSdbInterface
- Defined in:
- lib/dm-adapter-simpledb/utils.rb
Instance Method Summary collapse
- #create_domain(*args, &block) ⇒ Object
- #delete_attributes(*args, &block) ⇒ Object
- #get_attributes(*args, &block) ⇒ Object
-
#initialize(logger = NullObject.new) ⇒ NullSdbInterface
constructor
A new instance of NullSdbInterface.
- #list_domains(*args, &block) ⇒ Object
- #put_attributes(*args, &block) ⇒ Object
- #select(*args, &block) ⇒ Object
Constructor Details
#initialize(logger = NullObject.new) ⇒ NullSdbInterface
Returns a new instance of NullSdbInterface.
10 11 12 |
# File 'lib/dm-adapter-simpledb/utils.rb', line 10 def initialize(logger=NullObject.new) @logger = logger end |
Instance Method Details
#create_domain(*args, &block) ⇒ Object
41 42 43 44 |
# File 'lib/dm-adapter-simpledb/utils.rb', line 41 def create_domain(*args, &block) @logger.debug "[CREATE_DOMAIN] #{args.inspect}" {} end |
#delete_attributes(*args, &block) ⇒ Object
36 37 38 39 |
# File 'lib/dm-adapter-simpledb/utils.rb', line 36 def delete_attributes(*args, &block) @logger.debug "[DELETE_ATTRIBUTES] #{args.inspect}" {} end |
#get_attributes(*args, &block) ⇒ Object
21 22 23 24 |
# File 'lib/dm-adapter-simpledb/utils.rb', line 21 def get_attributes(*args, &block) @logger.debug "[GET_ATTRIBUTES] #{args.inspect}" {} end |
#list_domains(*args, &block) ⇒ Object
26 27 28 29 |
# File 'lib/dm-adapter-simpledb/utils.rb', line 26 def list_domains(*args, &block) @logger.debug "[LIST_DOMAINS] #{args.inspect}" {} end |
#put_attributes(*args, &block) ⇒ Object
31 32 33 34 |
# File 'lib/dm-adapter-simpledb/utils.rb', line 31 def put_attributes(*args, &block) @logger.debug "[PUT_ATTRIBUTES] #{args.inspect}" {} end |
#select(*args, &block) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/dm-adapter-simpledb/utils.rb', line 14 def select(*args, &block) @logger.debug "[SELECT] #{args.inspect}" { :items => [] } end |