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"
- DELETE_OBJECTS =
"DELETE_OBJECTS"
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.
32 33 34 |
# File 'lib/fakes3/server.rb', line 32 def bucket @bucket end |
#http_verb ⇒ Object
Returns the value of attribute http_verb.
32 33 34 |
# File 'lib/fakes3/server.rb', line 32 def http_verb @http_verb end |
#is_path_style ⇒ Object
Returns the value of attribute is_path_style.
32 33 34 |
# File 'lib/fakes3/server.rb', line 32 def is_path_style @is_path_style end |
#method ⇒ Object
Returns the value of attribute method.
32 33 34 |
# File 'lib/fakes3/server.rb', line 32 def method @method end |
#object ⇒ Object
Returns the value of attribute object.
32 33 34 |
# File 'lib/fakes3/server.rb', line 32 def object @object end |
#path ⇒ Object
Returns the value of attribute path.
32 33 34 |
# File 'lib/fakes3/server.rb', line 32 def path @path end |
#query ⇒ Object
Returns the value of attribute query.
32 33 34 |
# File 'lib/fakes3/server.rb', line 32 def query @query end |
#src_bucket ⇒ Object
Returns the value of attribute src_bucket.
32 33 34 |
# File 'lib/fakes3/server.rb', line 32 def src_bucket @src_bucket end |
#src_object ⇒ Object
Returns the value of attribute src_object.
32 33 34 |
# File 'lib/fakes3/server.rb', line 32 def src_object @src_object end |
#type ⇒ Object
Returns the value of attribute type.
32 33 34 |
# File 'lib/fakes3/server.rb', line 32 def type @type end |
#webrick_request ⇒ Object
Returns the value of attribute webrick_request.
32 33 34 |
# File 'lib/fakes3/server.rb', line 32 def webrick_request @webrick_request end |
Instance Method Details
#inspect ⇒ Object
36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/fakes3/server.rb', line 36 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 |