Class: GitLfsS3::UploadService::Base
- Inherits:
-
Object
- Object
- GitLfsS3::UploadService::Base
- Includes:
- AwsHelpers
- Defined in:
- lib/git-lfs-s3/services/upload/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#object ⇒ Object
readonly
Returns the value of attribute object.
-
#req ⇒ Object
readonly
Returns the value of attribute req.
Instance Method Summary collapse
-
#initialize(req, object) ⇒ Base
constructor
A new instance of Base.
- #response ⇒ Object
- #status ⇒ Object
Methods included from AwsHelpers
#aws_access_key_id, #aws_region, #aws_secret_access_key, #bucket, #bucket_name, #object_data, #s3
Constructor Details
#initialize(req, object) ⇒ Base
Returns a new instance of Base.
10 11 12 13 |
# File 'lib/git-lfs-s3/services/upload/base.rb', line 10 def initialize(req, object) @req = req @object = object end |
Instance Attribute Details
#object ⇒ Object (readonly)
Returns the value of attribute object.
8 9 10 |
# File 'lib/git-lfs-s3/services/upload/base.rb', line 8 def object @object end |
#req ⇒ Object (readonly)
Returns the value of attribute req.
8 9 10 |
# File 'lib/git-lfs-s3/services/upload/base.rb', line 8 def req @req end |
Instance Method Details
#response ⇒ Object
15 16 17 |
# File 'lib/git-lfs-s3/services/upload/base.rb', line 15 def response raise 'Override' end |
#status ⇒ Object
19 20 21 |
# File 'lib/git-lfs-s3/services/upload/base.rb', line 19 def status raise 'Override' end |