Class: ServerlessRedirector::Destination
- Inherits:
-
Object
- Object
- ServerlessRedirector::Destination
show all
- Defined in:
- lib/serverless_redirector/destination.rb
Constant Summary
collapse
"x-redirector-target".freeze
Instance Method Summary
collapse
Instance Method Details
#existing ⇒ Object
Lists existing redirects on the bucket
10
11
12
|
# File 'lib/serverless_redirector/destination.rb', line 10
def existing
[]
end
|
#remove_key(key) ⇒ Object
14
15
16
|
# File 'lib/serverless_redirector/destination.rb', line 14
def remove_key(key)
p [:remove_key, key]
end
|
#write_key(key, location, contents) ⇒ Object
18
19
20
|
# File 'lib/serverless_redirector/destination.rb', line 18
def write_key(key, location, contents)
p [:write_key, key, location, contents]
end
|