Class: RailsArchiver::Transport::InMemory
- Inherits:
-
Base
- Object
- Base
- RailsArchiver::Transport::InMemory
show all
- Defined in:
- lib/rails-archiver/transport/in_memory.rb
Instance Method Summary
collapse
Methods inherited from Base
#configure, #initialize
Instance Method Details
#retrieve_archive(location = nil) ⇒ Object
11
12
13
|
# File 'lib/rails-archiver/transport/in_memory.rb', line 11
def retrieve_archive(location=nil)
@options[:json]
end
|
#store_archive(json) ⇒ Object
6
7
8
9
|
# File 'lib/rails-archiver/transport/in_memory.rb', line 6
def store_archive(json)
@options[:json] = json
'some-key-here'
end
|