Class: Shuck::Request
- Inherits:
-
Object
- Object
- Shuck::Request
- Defined in:
- lib/shuck/server.rb
Constant Summary collapse
- CREATE_BUCKET =
"CREATE_BUCKET"
- LIST_BUCKETS =
"LIST_BUCKETS"
- LS_BUCKET =
"LS_BUCKET"
- STORE =
"STORE"
- COPY =
"COPY"
- GET =
"GET"
- GET_ACL =
"GET_ACL"
- SET_ACL =
"SET_ACL"
- MOVE =
"MOVE"
- DELETE =
"DELETE"
Instance Attribute Summary collapse
-
#bucket ⇒ Object
Returns the value of attribute bucket.
-
#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.
-
#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.
18 19 20 |
# File 'lib/shuck/server.rb', line 18 def bucket @bucket end |
#is_path_style ⇒ Object
Returns the value of attribute is_path_style.
18 19 20 |
# File 'lib/shuck/server.rb', line 18 def is_path_style @is_path_style end |
#method ⇒ Object
Returns the value of attribute method.
18 19 20 |
# File 'lib/shuck/server.rb', line 18 def method @method end |
#object ⇒ Object
Returns the value of attribute object.
18 19 20 |
# File 'lib/shuck/server.rb', line 18 def object @object end |
#path ⇒ Object
Returns the value of attribute path.
18 19 20 |
# File 'lib/shuck/server.rb', line 18 def path @path end |
#src_bucket ⇒ Object
Returns the value of attribute src_bucket.
18 19 20 |
# File 'lib/shuck/server.rb', line 18 def src_bucket @src_bucket end |
#src_object ⇒ Object
Returns the value of attribute src_object.
18 19 20 |
# File 'lib/shuck/server.rb', line 18 def src_object @src_object end |
#type ⇒ Object
Returns the value of attribute type.
18 19 20 |
# File 'lib/shuck/server.rb', line 18 def type @type end |
#webrick_request ⇒ Object
Returns the value of attribute webrick_request.
18 19 20 |
# File 'lib/shuck/server.rb', line 18 def webrick_request @webrick_request end |
Instance Method Details
#inspect ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/shuck/server.rb', line 20 def inspect puts "-----Inspect Shuck 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 "-----Done" end |