{
    "content": [
        {
            "type": "text",
            "text": "# ActiveStorage::Service (ri)\n\n## Sections\n\n- **ActiveStorage::Service < Object**\n- **Extended by:**\n- **Class methods:**\n- **Instance methods:**\n- **Attributes:**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ActiveStorage::Service",
        "section": "",
        "mode": "ri",
        "summary": null,
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "ActiveStorage::Service < Object",
                "lines": 1,
                "subsections": []
            },
            {
                "name": "Extended by:",
                "lines": 38,
                "subsections": []
            },
            {
                "name": "Class methods:",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "Instance methods:",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "Attributes:",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "ActiveStorage::Service < Object": {
                "content": "------------------------------------------------------------------------",
                "subsections": []
            },
            "Extended by:": {
                "content": "ActiveSupport::Autoload (from /home/chedong/.local/share/rdoc)\n\n(from /home/chedong/.local/share/rdoc)\n------------------------------------------------------------------------\nAbstract class serving as an interface for concrete services.\n\nThe available services are:\n\n* Disk, to manage attachments saved directly on the hard drive.\n* GCS, to manage attachments through Google Cloud Storage.\n* S3, to manage attachments through Amazon S3.\n* AzureStorage, to manage attachments through Microsoft Azure Storage.\n* Mirror, to be able to use several services to manage attachments.\n\nInside a Rails application, you can set-up your services through the\ngenerated config/storage.yml file and reference one of the\naforementioned constant under the service key. For example:\n\nlocal:\nservice: Disk\nroot: <%= Rails.root.join(\"storage\") %>\n\nYou can checkout the service's constructor to know which keys are\nrequired.\n\nThen, in your application's configuration, you can specify the service\nto use like this:\n\nconfig.activestorage.service = :local\n\nIf you are using Active Storage outside of a Ruby on Rails application,\nyou can configure the service to use like this:\n\nActiveStorage::Blob.service = ActiveStorage::Service.configure(\n:Disk,\nroot: Pathname(\"/foo/bar/storage\")\n)\n------------------------------------------------------------------------",
                "subsections": []
            },
            "Class methods:": {
                "content": "configure\n",
                "subsections": []
            },
            "Instance methods:": {
                "content": "delete\ndeleteprefixed\ndownload\ndownloadchunk\nexist?\nheadersfordirectupload\nname\nopen\npublic?\nupdatemetadata\nupload\nurl\nurlfordirectupload\n",
                "subsections": []
            },
            "Attributes:": {
                "content": "attraccessor name\n",
                "subsections": []
            }
        }
    }
}