aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_storage/service/gcs_service.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2017-07-24 15:36:30 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2017-07-24 15:36:33 -0500
commit92536c08d53c5d54f6c526bfdc5d854dd00a7a88 (patch)
treebce150413987c2a3e11c9fdb0707057e211e0f00 /lib/active_storage/service/gcs_service.rb
parent87cb0063742f9d5672f69f623be8fe1dee79b223 (diff)
downloadrails-92536c08d53c5d54f6c526bfdc5d854dd00a7a88.tar.gz
rails-92536c08d53c5d54f6c526bfdc5d854dd00a7a88.tar.bz2
rails-92536c08d53c5d54f6c526bfdc5d854dd00a7a88.zip
Document the rest of lib
Diffstat (limited to 'lib/active_storage/service/gcs_service.rb')
-rw-r--r--lib/active_storage/service/gcs_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/active_storage/service/gcs_service.rb b/lib/active_storage/service/gcs_service.rb
index 4632e5f820..d681a3dc45 100644
--- a/lib/active_storage/service/gcs_service.rb
+++ b/lib/active_storage/service/gcs_service.rb
@@ -1,6 +1,8 @@
require "google/cloud/storage"
require "active_support/core_ext/object/to_query"
+# Wraps the Google Cloud Storage as a Active Storage service. See `ActiveStorage::Service` for the generic API
+# documentation that applies to all services.
class ActiveStorage::Service::GCSService < ActiveStorage::Service
attr_reader :client, :bucket