From a21971da8a2b280ff70113ffdf582d358e6c64c8 Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:13:46 -0700 Subject: [PATCH 1/2] fix: rdoc generation excluding MODEL_CLASS (closes #317) --- easypost.gemspec | 2 +- lib/easypost/services/address.rb | 2 +- lib/easypost/services/batch.rb | 2 +- lib/easypost/services/carrier_account.rb | 2 +- lib/easypost/services/carrier_type.rb | 2 +- lib/easypost/services/claim.rb | 2 +- lib/easypost/services/customs_info.rb | 2 +- lib/easypost/services/customs_item.rb | 2 +- lib/easypost/services/end_shipper.rb | 2 +- lib/easypost/services/event.rb | 2 +- lib/easypost/services/insurance.rb | 2 +- lib/easypost/services/order.rb | 2 +- lib/easypost/services/parcel.rb | 2 +- lib/easypost/services/pickup.rb | 2 +- lib/easypost/services/referral_customer.rb | 2 +- lib/easypost/services/refund.rb | 2 +- lib/easypost/services/report.rb | 2 +- lib/easypost/services/scan_form.rb | 2 +- lib/easypost/services/shipment.rb | 2 +- lib/easypost/services/tracker.rb | 2 +- lib/easypost/services/user.rb | 2 +- lib/easypost/services/webhook.rb | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/easypost.gemspec b/easypost.gemspec index a5d9c493..55593c25 100644 --- a/easypost.gemspec +++ b/easypost.gemspec @@ -25,7 +25,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'faraday', '~> 2.7.5' # used for integration tests spec.add_development_dependency 'pry', '~> 0.14' spec.add_development_dependency 'rake', '~> 13.0' - spec.add_development_dependency 'rdoc', '~> 6.5' + spec.add_development_dependency 'rdoc', '~> 6.9' spec.add_development_dependency 'rspec', '~> 3.12' spec.add_development_dependency 'rubocop', '~> 1.49' spec.add_development_dependency 'rubocop-rspec', '2.19' # pin to 2.19 because latest version doesn't support Ruby 2.6 diff --git a/lib/easypost/services/address.rb b/lib/easypost/services/address.rb index 723e352d..52217568 100644 --- a/lib/easypost/services/address.rb +++ b/lib/easypost/services/address.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Address < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Address + MODEL_CLASS = EasyPost::Models::Address #:nodoc: # Create an address. def create(params = {}) diff --git a/lib/easypost/services/batch.rb b/lib/easypost/services/batch.rb index e96cf6a1..fdcf18e0 100644 --- a/lib/easypost/services/batch.rb +++ b/lib/easypost/services/batch.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Batch < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Batch + MODEL_CLASS = EasyPost::Models::Batch #:nodoc: # Create a Batch. def create(params = {}) diff --git a/lib/easypost/services/carrier_account.rb b/lib/easypost/services/carrier_account.rb index 825fd20f..e91e8824 100644 --- a/lib/easypost/services/carrier_account.rb +++ b/lib/easypost/services/carrier_account.rb @@ -3,7 +3,7 @@ class EasyPost::Services::CarrierAccount < EasyPost::Services::Service CUSTOM_WORKFLOW_CARRIER_TYPES = %w[FedexAccount FedexSmartpostAccount].freeze UPS_OAUTH_CARRIER_ACCOUNT_TYPES = %w[UpsAccount UpsMailInnovationsAccount UpsSurepostAccount].freeze - MODEL_CLASS = EasyPost::Models::CarrierAccount + MODEL_CLASS = EasyPost::Models::CarrierAccount #:nodoc: # Create a carrier account def create(params = {}) diff --git a/lib/easypost/services/carrier_type.rb b/lib/easypost/services/carrier_type.rb index 6fcb5d6e..3fa15b99 100644 --- a/lib/easypost/services/carrier_type.rb +++ b/lib/easypost/services/carrier_type.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::CarrierType < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::CarrierType + MODEL_CLASS = EasyPost::Models::CarrierType #:nodoc: # Retrieve all carrier types def all diff --git a/lib/easypost/services/claim.rb b/lib/easypost/services/claim.rb index bd771ff2..27c18232 100644 --- a/lib/easypost/services/claim.rb +++ b/lib/easypost/services/claim.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Claim < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Claim + MODEL_CLASS = EasyPost::Models::Claim #:nodoc: # Create an Claim object def create(params = {}) diff --git a/lib/easypost/services/customs_info.rb b/lib/easypost/services/customs_info.rb index efdedf00..46b16467 100644 --- a/lib/easypost/services/customs_info.rb +++ b/lib/easypost/services/customs_info.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::CustomsInfo < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::CustomsInfo + MODEL_CLASS = EasyPost::Models::CustomsInfo #:nodoc: # Create a CustomsInfo object def create(params) diff --git a/lib/easypost/services/customs_item.rb b/lib/easypost/services/customs_item.rb index aa5f5042..77fae682 100644 --- a/lib/easypost/services/customs_item.rb +++ b/lib/easypost/services/customs_item.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::CustomsItem < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::CustomsItem + MODEL_CLASS = EasyPost::Models::CustomsItem #:nodoc: # Create a CustomsItem object def create(params) diff --git a/lib/easypost/services/end_shipper.rb b/lib/easypost/services/end_shipper.rb index a525cc89..ee2a5a8e 100644 --- a/lib/easypost/services/end_shipper.rb +++ b/lib/easypost/services/end_shipper.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::EndShipper < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::EndShipper + MODEL_CLASS = EasyPost::Models::EndShipper #:nodoc: # Create an EndShipper object. def create(params = {}) diff --git a/lib/easypost/services/event.rb b/lib/easypost/services/event.rb index 51f12472..7931a5d4 100644 --- a/lib/easypost/services/event.rb +++ b/lib/easypost/services/event.rb @@ -3,7 +3,7 @@ require 'json' class EasyPost::Services::Event < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Event + MODEL_CLASS = EasyPost::Models::Event #:nodoc: # Retrieve an Event object def retrieve(id) diff --git a/lib/easypost/services/insurance.rb b/lib/easypost/services/insurance.rb index 11235df0..ef509d66 100644 --- a/lib/easypost/services/insurance.rb +++ b/lib/easypost/services/insurance.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Insurance < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Insurance + MODEL_CLASS = EasyPost::Models::Insurance #:nodoc: # Create an Insurance object def create(params = {}) diff --git a/lib/easypost/services/order.rb b/lib/easypost/services/order.rb index b61d61d5..cc292fd5 100644 --- a/lib/easypost/services/order.rb +++ b/lib/easypost/services/order.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Order < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Order + MODEL_CLASS = EasyPost::Models::Order #:nodoc: # Create an Order object def create(params = {}) diff --git a/lib/easypost/services/parcel.rb b/lib/easypost/services/parcel.rb index d4a90631..763ae08d 100644 --- a/lib/easypost/services/parcel.rb +++ b/lib/easypost/services/parcel.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Parcel < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Parcel + MODEL_CLASS = EasyPost::Models::Parcel #:nodoc: # Create a Parcel object def create(params = {}) diff --git a/lib/easypost/services/pickup.rb b/lib/easypost/services/pickup.rb index 381813b5..3534f106 100644 --- a/lib/easypost/services/pickup.rb +++ b/lib/easypost/services/pickup.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Pickup < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Pickup + MODEL_CLASS = EasyPost::Models::Pickup #:nodoc: # Create a Pickup object def create(params = {}) diff --git a/lib/easypost/services/referral_customer.rb b/lib/easypost/services/referral_customer.rb index fe37d3fc..6326ec90 100644 --- a/lib/easypost/services/referral_customer.rb +++ b/lib/easypost/services/referral_customer.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::ReferralCustomer < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::User + MODEL_CLASS = EasyPost::Models::User #:nodoc: # Create a referral customer. This function requires the Partner User's API key. def create(params = {}) diff --git a/lib/easypost/services/refund.rb b/lib/easypost/services/refund.rb index 4b44bb48..aaa58e95 100644 --- a/lib/easypost/services/refund.rb +++ b/lib/easypost/services/refund.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Refund < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Refund + MODEL_CLASS = EasyPost::Models::Refund #:nodoc: # Create a Refund object def create(params = {}) diff --git a/lib/easypost/services/report.rb b/lib/easypost/services/report.rb index bda57178..6bd3b8e6 100644 --- a/lib/easypost/services/report.rb +++ b/lib/easypost/services/report.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Report < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Report + MODEL_CLASS = EasyPost::Models::Report #:nodoc: # Create a Report def create(params = {}) diff --git a/lib/easypost/services/scan_form.rb b/lib/easypost/services/scan_form.rb index 39462de5..68dc2817 100644 --- a/lib/easypost/services/scan_form.rb +++ b/lib/easypost/services/scan_form.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::ScanForm < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::ScanForm + MODEL_CLASS = EasyPost::Models::ScanForm #:nodoc: # Create a ScanForm. def create(params = {}) diff --git a/lib/easypost/services/shipment.rb b/lib/easypost/services/shipment.rb index 177eeb0a..450d7651 100644 --- a/lib/easypost/services/shipment.rb +++ b/lib/easypost/services/shipment.rb @@ -3,7 +3,7 @@ require 'set' class EasyPost::Services::Shipment < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Shipment + MODEL_CLASS = EasyPost::Models::Shipment #:nodoc: # Create a Shipment. def create(params = {}) diff --git a/lib/easypost/services/tracker.rb b/lib/easypost/services/tracker.rb index e9e2e714..a3e31999 100644 --- a/lib/easypost/services/tracker.rb +++ b/lib/easypost/services/tracker.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Tracker < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Tracker + MODEL_CLASS = EasyPost::Models::Tracker #:nodoc: # Create a Tracker def create(params = {}) diff --git a/lib/easypost/services/user.rb b/lib/easypost/services/user.rb index 7e7a12c3..847265dc 100644 --- a/lib/easypost/services/user.rb +++ b/lib/easypost/services/user.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::User < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::User + MODEL_CLASS = EasyPost::Models::User #:nodoc: # Create a child User. def create(params = {}) diff --git a/lib/easypost/services/webhook.rb b/lib/easypost/services/webhook.rb index 626c24ac..6e89395f 100644 --- a/lib/easypost/services/webhook.rb +++ b/lib/easypost/services/webhook.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Webhook < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Webhook + MODEL_CLASS = EasyPost::Models::Webhook #:nodoc: # Create a Webhook. def create(params = {}) From dba97c224dcbdbd4f6bb0ed3a93c06e7ca1f80ab Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Tue, 17 Dec 2024 11:16:42 -0700 Subject: [PATCH 2/2] fix: lint --- lib/easypost/services/address.rb | 2 +- lib/easypost/services/batch.rb | 2 +- lib/easypost/services/carrier_account.rb | 2 +- lib/easypost/services/carrier_type.rb | 2 +- lib/easypost/services/claim.rb | 2 +- lib/easypost/services/customs_info.rb | 2 +- lib/easypost/services/customs_item.rb | 2 +- lib/easypost/services/end_shipper.rb | 2 +- lib/easypost/services/event.rb | 2 +- lib/easypost/services/insurance.rb | 2 +- lib/easypost/services/order.rb | 2 +- lib/easypost/services/parcel.rb | 2 +- lib/easypost/services/pickup.rb | 2 +- lib/easypost/services/referral_customer.rb | 2 +- lib/easypost/services/refund.rb | 2 +- lib/easypost/services/report.rb | 2 +- lib/easypost/services/scan_form.rb | 2 +- lib/easypost/services/shipment.rb | 2 +- lib/easypost/services/tracker.rb | 2 +- lib/easypost/services/user.rb | 2 +- lib/easypost/services/webhook.rb | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/lib/easypost/services/address.rb b/lib/easypost/services/address.rb index 52217568..4587e708 100644 --- a/lib/easypost/services/address.rb +++ b/lib/easypost/services/address.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Address < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Address #:nodoc: + MODEL_CLASS = EasyPost::Models::Address # :nodoc: # Create an address. def create(params = {}) diff --git a/lib/easypost/services/batch.rb b/lib/easypost/services/batch.rb index fdcf18e0..96eca3f6 100644 --- a/lib/easypost/services/batch.rb +++ b/lib/easypost/services/batch.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Batch < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Batch #:nodoc: + MODEL_CLASS = EasyPost::Models::Batch # :nodoc: # Create a Batch. def create(params = {}) diff --git a/lib/easypost/services/carrier_account.rb b/lib/easypost/services/carrier_account.rb index e91e8824..36a1bd01 100644 --- a/lib/easypost/services/carrier_account.rb +++ b/lib/easypost/services/carrier_account.rb @@ -3,7 +3,7 @@ class EasyPost::Services::CarrierAccount < EasyPost::Services::Service CUSTOM_WORKFLOW_CARRIER_TYPES = %w[FedexAccount FedexSmartpostAccount].freeze UPS_OAUTH_CARRIER_ACCOUNT_TYPES = %w[UpsAccount UpsMailInnovationsAccount UpsSurepostAccount].freeze - MODEL_CLASS = EasyPost::Models::CarrierAccount #:nodoc: + MODEL_CLASS = EasyPost::Models::CarrierAccount # :nodoc: # Create a carrier account def create(params = {}) diff --git a/lib/easypost/services/carrier_type.rb b/lib/easypost/services/carrier_type.rb index 3fa15b99..89e4640e 100644 --- a/lib/easypost/services/carrier_type.rb +++ b/lib/easypost/services/carrier_type.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::CarrierType < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::CarrierType #:nodoc: + MODEL_CLASS = EasyPost::Models::CarrierType # :nodoc: # Retrieve all carrier types def all diff --git a/lib/easypost/services/claim.rb b/lib/easypost/services/claim.rb index 27c18232..4d0d6e54 100644 --- a/lib/easypost/services/claim.rb +++ b/lib/easypost/services/claim.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Claim < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Claim #:nodoc: + MODEL_CLASS = EasyPost::Models::Claim # :nodoc: # Create an Claim object def create(params = {}) diff --git a/lib/easypost/services/customs_info.rb b/lib/easypost/services/customs_info.rb index 46b16467..96f5702c 100644 --- a/lib/easypost/services/customs_info.rb +++ b/lib/easypost/services/customs_info.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::CustomsInfo < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::CustomsInfo #:nodoc: + MODEL_CLASS = EasyPost::Models::CustomsInfo # :nodoc: # Create a CustomsInfo object def create(params) diff --git a/lib/easypost/services/customs_item.rb b/lib/easypost/services/customs_item.rb index 77fae682..35a3dee0 100644 --- a/lib/easypost/services/customs_item.rb +++ b/lib/easypost/services/customs_item.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::CustomsItem < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::CustomsItem #:nodoc: + MODEL_CLASS = EasyPost::Models::CustomsItem # :nodoc: # Create a CustomsItem object def create(params) diff --git a/lib/easypost/services/end_shipper.rb b/lib/easypost/services/end_shipper.rb index ee2a5a8e..7de6e44e 100644 --- a/lib/easypost/services/end_shipper.rb +++ b/lib/easypost/services/end_shipper.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::EndShipper < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::EndShipper #:nodoc: + MODEL_CLASS = EasyPost::Models::EndShipper # :nodoc: # Create an EndShipper object. def create(params = {}) diff --git a/lib/easypost/services/event.rb b/lib/easypost/services/event.rb index 7931a5d4..fc58f9ee 100644 --- a/lib/easypost/services/event.rb +++ b/lib/easypost/services/event.rb @@ -3,7 +3,7 @@ require 'json' class EasyPost::Services::Event < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Event #:nodoc: + MODEL_CLASS = EasyPost::Models::Event # :nodoc: # Retrieve an Event object def retrieve(id) diff --git a/lib/easypost/services/insurance.rb b/lib/easypost/services/insurance.rb index ef509d66..1a7ebc2d 100644 --- a/lib/easypost/services/insurance.rb +++ b/lib/easypost/services/insurance.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Insurance < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Insurance #:nodoc: + MODEL_CLASS = EasyPost::Models::Insurance # :nodoc: # Create an Insurance object def create(params = {}) diff --git a/lib/easypost/services/order.rb b/lib/easypost/services/order.rb index cc292fd5..ff109fce 100644 --- a/lib/easypost/services/order.rb +++ b/lib/easypost/services/order.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Order < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Order #:nodoc: + MODEL_CLASS = EasyPost::Models::Order # :nodoc: # Create an Order object def create(params = {}) diff --git a/lib/easypost/services/parcel.rb b/lib/easypost/services/parcel.rb index 763ae08d..6625185e 100644 --- a/lib/easypost/services/parcel.rb +++ b/lib/easypost/services/parcel.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Parcel < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Parcel #:nodoc: + MODEL_CLASS = EasyPost::Models::Parcel # :nodoc: # Create a Parcel object def create(params = {}) diff --git a/lib/easypost/services/pickup.rb b/lib/easypost/services/pickup.rb index 3534f106..ecccfc03 100644 --- a/lib/easypost/services/pickup.rb +++ b/lib/easypost/services/pickup.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Pickup < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Pickup #:nodoc: + MODEL_CLASS = EasyPost::Models::Pickup # :nodoc: # Create a Pickup object def create(params = {}) diff --git a/lib/easypost/services/referral_customer.rb b/lib/easypost/services/referral_customer.rb index 6326ec90..22aa5151 100644 --- a/lib/easypost/services/referral_customer.rb +++ b/lib/easypost/services/referral_customer.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::ReferralCustomer < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::User #:nodoc: + MODEL_CLASS = EasyPost::Models::User # :nodoc: # Create a referral customer. This function requires the Partner User's API key. def create(params = {}) diff --git a/lib/easypost/services/refund.rb b/lib/easypost/services/refund.rb index aaa58e95..9d929bec 100644 --- a/lib/easypost/services/refund.rb +++ b/lib/easypost/services/refund.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Refund < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Refund #:nodoc: + MODEL_CLASS = EasyPost::Models::Refund # :nodoc: # Create a Refund object def create(params = {}) diff --git a/lib/easypost/services/report.rb b/lib/easypost/services/report.rb index 6bd3b8e6..450ac476 100644 --- a/lib/easypost/services/report.rb +++ b/lib/easypost/services/report.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Report < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Report #:nodoc: + MODEL_CLASS = EasyPost::Models::Report # :nodoc: # Create a Report def create(params = {}) diff --git a/lib/easypost/services/scan_form.rb b/lib/easypost/services/scan_form.rb index 68dc2817..8dc26f9c 100644 --- a/lib/easypost/services/scan_form.rb +++ b/lib/easypost/services/scan_form.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::ScanForm < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::ScanForm #:nodoc: + MODEL_CLASS = EasyPost::Models::ScanForm # :nodoc: # Create a ScanForm. def create(params = {}) diff --git a/lib/easypost/services/shipment.rb b/lib/easypost/services/shipment.rb index 450d7651..35ec35dd 100644 --- a/lib/easypost/services/shipment.rb +++ b/lib/easypost/services/shipment.rb @@ -3,7 +3,7 @@ require 'set' class EasyPost::Services::Shipment < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Shipment #:nodoc: + MODEL_CLASS = EasyPost::Models::Shipment # :nodoc: # Create a Shipment. def create(params = {}) diff --git a/lib/easypost/services/tracker.rb b/lib/easypost/services/tracker.rb index a3e31999..19ad7a84 100644 --- a/lib/easypost/services/tracker.rb +++ b/lib/easypost/services/tracker.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Tracker < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Tracker #:nodoc: + MODEL_CLASS = EasyPost::Models::Tracker # :nodoc: # Create a Tracker def create(params = {}) diff --git a/lib/easypost/services/user.rb b/lib/easypost/services/user.rb index 847265dc..1703ec94 100644 --- a/lib/easypost/services/user.rb +++ b/lib/easypost/services/user.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::User < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::User #:nodoc: + MODEL_CLASS = EasyPost::Models::User # :nodoc: # Create a child User. def create(params = {}) diff --git a/lib/easypost/services/webhook.rb b/lib/easypost/services/webhook.rb index 6e89395f..3c910de3 100644 --- a/lib/easypost/services/webhook.rb +++ b/lib/easypost/services/webhook.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class EasyPost::Services::Webhook < EasyPost::Services::Service - MODEL_CLASS = EasyPost::Models::Webhook #:nodoc: + MODEL_CLASS = EasyPost::Models::Webhook # :nodoc: # Create a Webhook. def create(params = {})