rails-external-service
CommunityStreamline external HTTP calls with Rails.
Authorsamrocks03
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Centralizes and standardizes external HTTP calls in Rails apps by routing through a single HttpRequest wrapper, ensuring consistent authentication, URL construction, and response handling.
Core Features & Use Cases
- Centralized ExternalService::HttpRequest wrapper for get, post, put, patch, and delete
- Token-based authentication headers and ENV-driven base URL configuration
- Uniform error handling and JSON response parsing
- Dedicated service wrappers for common external APIs to keep code clean and reusable
- Safe, auditable integration pattern suitable for production Rails apps
Quick Start
Configure ENV['EXTERNAL_SERVICE_BASE_URL'] and ENV['EXTERNAL_SERVICE_TOKEN']; instantiate ExternalService::HttpRequest with method and path, then call the desired HTTP action (get/post/put/patch/delete) to interact with the external API.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rails-external-service Download link: https://github.com/samrocks03/shuttle-office-service/archive/main.zip#rails-external-service Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.