Skip to content

Commit 1dd7074

Browse files
authored
Merge pull request #318 from EasyPost/fix_rdoc_generation
fix: rdoc generation excluding MODEL_CLASS (closes #317)
2 parents 91e0275 + dba97c2 commit 1dd7074

22 files changed

Lines changed: 22 additions & 22 deletions

easypost.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
2525
spec.add_development_dependency 'faraday', '~> 2.7.5' # used for integration tests
2626
spec.add_development_dependency 'pry', '~> 0.14'
2727
spec.add_development_dependency 'rake', '~> 13.0'
28-
spec.add_development_dependency 'rdoc', '~> 6.5'
28+
spec.add_development_dependency 'rdoc', '~> 6.9'
2929
spec.add_development_dependency 'rspec', '~> 3.12'
3030
spec.add_development_dependency 'rubocop', '~> 1.49'
3131
spec.add_development_dependency 'rubocop-rspec', '2.19' # pin to 2.19 because latest version doesn't support Ruby 2.6

lib/easypost/services/address.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
class EasyPost::Services::Address < EasyPost::Services::Service
4-
MODEL_CLASS = EasyPost::Models::Address
4+
MODEL_CLASS = EasyPost::Models::Address # :nodoc:
55

66
# Create an address.
77
def create(params = {})

lib/easypost/services/batch.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
class EasyPost::Services::Batch < EasyPost::Services::Service
4-
MODEL_CLASS = EasyPost::Models::Batch
4+
MODEL_CLASS = EasyPost::Models::Batch # :nodoc:
55

66
# Create a Batch.
77
def create(params = {})

lib/easypost/services/carrier_account.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class EasyPost::Services::CarrierAccount < EasyPost::Services::Service
44
CUSTOM_WORKFLOW_CARRIER_TYPES = %w[FedexAccount FedexSmartpostAccount].freeze
55
UPS_OAUTH_CARRIER_ACCOUNT_TYPES = %w[UpsAccount UpsMailInnovationsAccount UpsSurepostAccount].freeze
6-
MODEL_CLASS = EasyPost::Models::CarrierAccount
6+
MODEL_CLASS = EasyPost::Models::CarrierAccount # :nodoc:
77

88
# Create a carrier account
99
def create(params = {})

lib/easypost/services/carrier_type.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
class EasyPost::Services::CarrierType < EasyPost::Services::Service
4-
MODEL_CLASS = EasyPost::Models::CarrierType
4+
MODEL_CLASS = EasyPost::Models::CarrierType # :nodoc:
55

66
# Retrieve all carrier types
77
def all

lib/easypost/services/claim.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
class EasyPost::Services::Claim < EasyPost::Services::Service
4-
MODEL_CLASS = EasyPost::Models::Claim
4+
MODEL_CLASS = EasyPost::Models::Claim # :nodoc:
55

66
# Create an Claim object
77
def create(params = {})

lib/easypost/services/customs_info.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
class EasyPost::Services::CustomsInfo < EasyPost::Services::Service
4-
MODEL_CLASS = EasyPost::Models::CustomsInfo
4+
MODEL_CLASS = EasyPost::Models::CustomsInfo # :nodoc:
55

66
# Create a CustomsInfo object
77
def create(params)

lib/easypost/services/customs_item.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
class EasyPost::Services::CustomsItem < EasyPost::Services::Service
4-
MODEL_CLASS = EasyPost::Models::CustomsItem
4+
MODEL_CLASS = EasyPost::Models::CustomsItem # :nodoc:
55

66
# Create a CustomsItem object
77
def create(params)

lib/easypost/services/end_shipper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
class EasyPost::Services::EndShipper < EasyPost::Services::Service
4-
MODEL_CLASS = EasyPost::Models::EndShipper
4+
MODEL_CLASS = EasyPost::Models::EndShipper # :nodoc:
55

66
# Create an EndShipper object.
77
def create(params = {})

lib/easypost/services/event.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require 'json'
44

55
class EasyPost::Services::Event < EasyPost::Services::Service
6-
MODEL_CLASS = EasyPost::Models::Event
6+
MODEL_CLASS = EasyPost::Models::Event # :nodoc:
77

88
# Retrieve an Event object
99
def retrieve(id)

0 commit comments

Comments
 (0)