From d90f26156279c2dd53eaabeb8794e8ecd2b3d0fa Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Fri, 11 Aug 2017 12:36:07 +0900 Subject: Fix formatting of Active Storage docs [ci skip] Follow up of #30188. --- activestorage/lib/active_storage/service.rb | 2 +- activestorage/lib/active_storage/service/mirror_service.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'activestorage/lib') diff --git a/activestorage/lib/active_storage/service.rb b/activestorage/lib/active_storage/service.rb index 51ae6619a8..4dd6eb6045 100644 --- a/activestorage/lib/active_storage/service.rb +++ b/activestorage/lib/active_storage/service.rb @@ -89,7 +89,7 @@ module ActiveStorage # Returns a signed, temporary URL that a direct upload file can be PUT to on the +key+. # The URL will be valid for the amount of seconds specified in +expires_in+. - # You most also provide the +content_type+, +content_length+, and `+hecksum+ of the file + # You most also provide the +content_type+, +content_length+, and +checksum+ of the file # that will be uploaded. All these attributes will be validated by the service upon upload. def url_for_direct_upload(key, expires_in:, content_type:, content_length:, checksum:) raise NotImplementedError diff --git a/activestorage/lib/active_storage/service/mirror_service.rb b/activestorage/lib/active_storage/service/mirror_service.rb index 43fa046643..8491df4911 100644 --- a/activestorage/lib/active_storage/service/mirror_service.rb +++ b/activestorage/lib/active_storage/service/mirror_service.rb @@ -3,7 +3,7 @@ require "active_support/core_ext/module/delegation" module ActiveStorage # Wraps a set of mirror services and provides a single ActiveStorage::Service object that will all # have the files uploaded to them. A +primary+ service is designated to answer calls to +download+, +exists?+, - # and `url`. + # and +url+. class Service::MirrorService < Service attr_reader :primary, :mirrors -- cgit v1.2.3