Class: EasyPost::Services::Service
- Inherits:
-
Object
- Object
- EasyPost::Services::Service
- Defined in:
- lib/easypost/services/base.rb
Overview
The base class for all services in the library.
Direct Known Subclasses
Address, ApiKey, Batch, BetaRate, BetaReferralCustomer, Billing, CarrierAccount, CarrierMetadata, CarrierType, Claim, CustomsInfo, CustomsItem, EndShipper, Event, Insurance, Order, Parcel, Pickup, Rate, ReferralCustomer, Refund, Report, ScanForm, Shipment, SmartRate, Tracker, User, Webhook
Instance Method Summary collapse
-
#initialize(client) ⇒ Service
constructor
A new instance of Service.
Constructor Details
#initialize(client) ⇒ Service
Returns a new instance of Service.
7 8 9 |
# File 'lib/easypost/services/base.rb', line 7 def initialize(client) @client = client end |