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.
23 24 25 |
# File 'lib/fakes3/server.rb', line 23 def bucket @bucket end |
#http_verb ⇒ Object
Returns the value of attribute http_verb.
23 24 25 |
# File 'lib/fakes3/server.rb', line 23 def http_verb @http_verb end |
#is_path_style ⇒ Object
Returns the value of attribute is_path_style.
23 24 25 |
# File 'lib/fakes3/server.rb', line 23 def is_path_style @is_path_style end |
#method ⇒ Object
Returns the value of attribute method.
23 24 25 |
# File 'lib/fakes3/server.rb', line 23 def method @method end |
#object ⇒ Object
Returns the value of attribute object.
23 24 25 |
# File 'lib/fakes3/server.rb', line 23 def object @object end |
#path ⇒ Object
Returns the value of attribute path.
23 24 25 |
# File 'lib/fakes3/server.rb', line 23 def path @path end |
#query ⇒ Object
Returns the value of attribute query.
23 24 25 |
# File 'lib/fakes3/server.rb', line 23 def query @query end |
#src_bucket ⇒ Object
Returns the value of attribute src_bucket.
23 24 25 |
# File 'lib/fakes3/server.rb', line 23 def src_bucket @src_bucket end |
#src_object ⇒ Object
Returns the value of attribute src_object.
23 24 25 |
# File 'lib/fakes3/server.rb', line 23 def src_object @src_object end |
#type ⇒ Object
Returns the value of attribute type.
23 24 25 |
# File 'lib/fakes3/server.rb', line 23 def type @type end |
#webrick_request ⇒ Object
Returns the value of attribute webrick_request.
23 24 25 |
# File 'lib/fakes3/server.rb', line 23 def webrick_request @webrick_request end |
Instance Method Details
#inspect ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/fakes3/server.rb', line 27 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 |