Class: FakeS3::Request
- Inherits:
-
Object
- Object
- FakeS3::Request
- Defined in:
- lib/fakes3/server.rb
Constant Summary collapse
- CREATE_BUCKET =
"CREATE_BUCKET"- LIST_BUCKETS =
"LIST_BUCKETS"- LS_BUCKET =
"LS_BUCKET"- HEAD =
"HEAD"- STORE =
"STORE"- COPY =
"COPY"- GET =
"GET"- GET_ACL =
"GET_ACL"- SET_ACL =
"SET_ACL"- MOVE =
"MOVE"- DELETE_OBJECT =
"DELETE_OBJECT"- DELETE_BUCKET =
"DELETE_BUCKET"
Instance Attribute Summary collapse
-
#bucket ⇒ Object
Returns the value of attribute bucket.
-
#http_verb ⇒ Object
Returns the value of attribute http_verb.
-
#is_path_style ⇒ Object
Returns the value of attribute is_path_style.
-
#method ⇒ Object
Returns the value of attribute method.
-
#object ⇒ Object
Returns the value of attribute object.
-
#path ⇒ Object
Returns the value of attribute path.
-
#query ⇒ Object
Returns the value of attribute query.
-
#src_bucket ⇒ Object
Returns the value of attribute src_bucket.
-
#src_object ⇒ Object
Returns the value of attribute src_object.
-
#type ⇒ Object
Returns the value of attribute type.
-
#webrick_request ⇒ Object
Returns the value of attribute webrick_request.
Instance Method Summary collapse
Instance Attribute Details
#bucket ⇒ Object
Returns the value of attribute bucket.
29 30 31 |
# File 'lib/fakes3/server.rb', line 29 def bucket @bucket end |
#http_verb ⇒ Object
Returns the value of attribute http_verb.
29 30 31 |
# File 'lib/fakes3/server.rb', line 29 def http_verb @http_verb end |
#is_path_style ⇒ Object
Returns the value of attribute is_path_style.
29 30 31 |
# File 'lib/fakes3/server.rb', line 29 def is_path_style @is_path_style end |
#method ⇒ Object
Returns the value of attribute method.
29 30 31 |
# File 'lib/fakes3/server.rb', line 29 def method @method end |
#object ⇒ Object
Returns the value of attribute object.
29 30 31 |
# File 'lib/fakes3/server.rb', line 29 def object @object end |
#path ⇒ Object
Returns the value of attribute path.
29 30 31 |
# File 'lib/fakes3/server.rb', line 29 def path @path end |
#query ⇒ Object
Returns the value of attribute query.
29 30 31 |
# File 'lib/fakes3/server.rb', line 29 def query @query end |
#src_bucket ⇒ Object
Returns the value of attribute src_bucket.
29 30 31 |
# File 'lib/fakes3/server.rb', line 29 def src_bucket @src_bucket end |
#src_object ⇒ Object
Returns the value of attribute src_object.
29 30 31 |
# File 'lib/fakes3/server.rb', line 29 def src_object @src_object end |
#type ⇒ Object
Returns the value of attribute type.
29 30 31 |
# File 'lib/fakes3/server.rb', line 29 def type @type end |
#webrick_request ⇒ Object
Returns the value of attribute webrick_request.
29 30 31 |
# File 'lib/fakes3/server.rb', line 29 def webrick_request @webrick_request end |
Instance Method Details
#inspect ⇒ Object
33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/fakes3/server.rb', line 33 def inspect puts "-----Inspect FakeS3 Request" puts "Type: #{@type}" puts "Is Path Style: #{@is_path_style}" puts "Request Method: #{@method}" puts "Bucket: #{@bucket}" puts "Object: #{@object}" puts "Src Bucket: #{@src_bucket}" puts "Src Object: #{@src_object}" puts "Query: #{@query}" puts "-----Done" end |