lob 6.0.0.pre.rc → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODE_SNIPPETS.md +1871 -0
- data/Gemfile.lock +7 -7
- data/MIGRATION.md +174 -0
- data/README.md +10 -34
- data/__tests__/Api/Address.unit.rb +1 -1
- data/__tests__/Api/BankAccount.unit.rb +1 -1
- data/__tests__/Api/BillingGroup.unit.rb +1 -1
- data/__tests__/Api/Card.unit.rb +1 -1
- data/__tests__/Api/CardOrder.unit.rb +1 -1
- data/__tests__/Api/Check.unit.rb +1 -1
- data/__tests__/Api/IntlAutocompletion.unit.rb +1 -1
- data/__tests__/Api/IntlVerification.unit.rb +1 -1
- data/__tests__/Api/Letter.unit.rb +1 -1
- data/__tests__/Api/Postcard.unit.rb +1 -1
- data/__tests__/Api/ReverseGeocodeLookup.unit.rb +1 -1
- data/__tests__/Api/SelfMailer.unit.rb +1 -1
- data/__tests__/Api/Template.unit.rb +1 -1
- data/__tests__/Api/TemplateVersion.unit.rb +1 -1
- data/__tests__/Api/UsAutocompletion.unit.rb +8 -8
- data/__tests__/Api/UsVerification.unit.rb +1 -1
- data/__tests__/Api/ZipLookup.unit.rb +1 -1
- data/__tests__/Integration/Address.spec.rb +3 -3
- data/__tests__/Integration/BankAccount.spec.rb +3 -3
- data/__tests__/Integration/BillingGroup.spec.rb +3 -3
- data/__tests__/Integration/Card.spec.rb +3 -3
- data/__tests__/Integration/CardOrder.spec.rb +3 -3
- data/__tests__/Integration/Check.spec.rb +3 -3
- data/__tests__/Integration/IntlAutocompletion.spec.rb +3 -3
- data/__tests__/Integration/IntlVerification.spec.rb +3 -3
- data/__tests__/Integration/Letter.spec.rb +3 -3
- data/__tests__/Integration/Postcard.spec.rb +3 -3
- data/__tests__/Integration/ReverseGeocodeLookup.spec.rb +1 -1
- data/__tests__/Integration/SelfMailer.spec.rb +15 -9
- data/__tests__/Integration/Template.spec.rb +3 -3
- data/__tests__/Integration/TemplateVersion.spec.rb +3 -3
- data/__tests__/Integration/UsAutocompletion.spec.rb +3 -3
- data/__tests__/Integration/UsVerification.spec.rb +3 -3
- data/__tests__/Integration/ZipLookup.spec.rb +1 -1
- data/__tests__/TestFixtures.rb +5 -5
- data/docs/Address.md +2 -2
- data/docs/AddressDeletion.md +2 -2
- data/docs/AddressDomestic.md +2 -2
- data/docs/AddressDomesticExpanded.md +2 -2
- data/docs/AddressEditable.md +2 -2
- data/docs/AddressList.md +2 -2
- data/docs/AddressesApi.md +18 -18
- data/docs/BankAccount.md +2 -2
- data/docs/BankAccountDeletion.md +2 -2
- data/docs/BankAccountList.md +2 -2
- data/docs/BankAccountVerify.md +2 -2
- data/docs/BankAccountWritable.md +2 -2
- data/docs/BankAccountsApi.md +23 -23
- data/docs/BankTypeEnum.md +2 -2
- data/docs/BillingGroup.md +2 -2
- data/docs/BillingGroupEditable.md +2 -2
- data/docs/BillingGroupList.md +2 -2
- data/docs/BillingGroupsApi.md +20 -20
- data/docs/Buckslip.md +2 -2
- data/docs/BuckslipDeletion.md +2 -2
- data/docs/BuckslipEditable.md +2 -2
- data/docs/BuckslipOrder.md +2 -2
- data/docs/BuckslipOrderEditable.md +2 -2
- data/docs/BuckslipOrdersApi.md +10 -10
- data/docs/BuckslipOrdersList.md +2 -2
- data/docs/BuckslipUpdatable.md +2 -2
- data/docs/BuckslipsApi.md +23 -23
- data/docs/BuckslipsList.md +2 -2
- data/docs/BulkError.md +2 -2
- data/docs/BulkErrorProperties.md +2 -2
- data/docs/Campaign.md +2 -2
- data/docs/CampaignCreative.md +2 -2
- data/docs/CampaignDeletion.md +2 -2
- data/docs/CampaignUpdatable.md +2 -2
- data/docs/CampaignWritable.md +2 -2
- data/docs/CampaignsApi.md +23 -23
- data/docs/CampaignsList.md +2 -2
- data/docs/Card.md +2 -2
- data/docs/CardDeletion.md +2 -2
- data/docs/CardEditable.md +2 -2
- data/docs/CardList.md +2 -2
- data/docs/CardOrder.md +2 -2
- data/docs/CardOrderEditable.md +2 -2
- data/docs/CardOrderList.md +2 -2
- data/docs/CardOrdersApi.md +10 -10
- data/docs/CardUpdatable.md +2 -2
- data/docs/CardsApi.md +23 -23
- data/docs/Check.md +2 -2
- data/docs/CheckDeletion.md +2 -2
- data/docs/CheckEditable.md +2 -2
- data/docs/CheckList.md +2 -2
- data/docs/ChecksApi.md +20 -20
- data/docs/CmpScheduleType.md +2 -2
- data/docs/CmpUseType.md +2 -2
- data/docs/CountryExtended.md +2 -2
- data/docs/CountryExtendedExpanded.md +2 -2
- data/docs/CreativePatch.md +2 -2
- data/docs/CreativeResponse.md +2 -2
- data/docs/CreativeWritable.md +2 -2
- data/docs/CreativesApi.md +15 -15
- data/docs/CustomEnvelopeReturned.md +2 -2
- data/docs/DefaultApi.md +5 -5
- data/docs/DeliverabilityAnalysis.md +2 -2
- data/docs/DpvFootnote.md +2 -2
- data/docs/EngineHtml.md +2 -2
- data/docs/EventType.md +2 -2
- data/docs/Events.md +2 -2
- data/docs/Export.md +2 -2
- data/docs/ExportModel.md +2 -2
- data/docs/GeocodeAddresses.md +2 -2
- data/docs/GeocodeComponents.md +2 -2
- data/docs/HTTPValidationError.md +2 -2
- data/docs/IdentityValidation.md +2 -2
- data/docs/IdentityValidationApi.md +6 -6
- data/docs/InlineObject.md +2 -2
- data/docs/IntlAutocompletions.md +2 -2
- data/docs/IntlAutocompletionsApi.md +6 -6
- data/docs/IntlAutocompletionsWritable.md +2 -2
- data/docs/IntlComponents.md +2 -2
- data/docs/IntlSuggestions.md +2 -2
- data/docs/IntlVerification.md +2 -2
- data/docs/IntlVerificationOrError.md +2 -2
- data/docs/IntlVerificationWritable.md +2 -2
- data/docs/IntlVerifications.md +2 -2
- data/docs/IntlVerificationsApi.md +11 -11
- data/docs/IntlVerificationsPayload.md +2 -2
- data/docs/Letter.md +2 -2
- data/docs/LetterCustomEnvelope.md +2 -2
- data/docs/LetterDeletion.md +2 -2
- data/docs/LetterDetailsReturned.md +2 -2
- data/docs/LetterDetailsWritable.md +2 -2
- data/docs/LetterEditable.md +2 -2
- data/docs/LetterList.md +2 -2
- data/docs/LettersApi.md +20 -20
- data/docs/LobConfidenceScore.md +2 -2
- data/docs/LobError.md +2 -2
- data/docs/Location.md +2 -2
- data/docs/LocationAnalysis.md +2 -2
- data/docs/MailType.md +2 -2
- data/docs/MultiLineAddress.md +2 -2
- data/docs/MultipleComponents.md +2 -2
- data/docs/MultipleComponentsIntl.md +2 -2
- data/docs/MultipleComponentsList.md +2 -2
- data/docs/PlaceholderModel.md +2 -2
- data/docs/Postcard.md +2 -2
- data/docs/PostcardDeletion.md +2 -2
- data/docs/PostcardDetailsReturned.md +2 -2
- data/docs/PostcardDetailsWritable.md +2 -2
- data/docs/PostcardEditable.md +2 -2
- data/docs/PostcardList.md +2 -2
- data/docs/PostcardSize.md +2 -2
- data/docs/PostcardsApi.md +21 -21
- data/docs/QrCode.md +2 -2
- data/docs/ReturnEnvelope.md +2 -2
- data/docs/ReverseGeocode.md +2 -2
- data/docs/ReverseGeocodeLookupsApi.md +6 -6
- data/docs/SelfMailer.md +2 -2
- data/docs/SelfMailerDeletion.md +2 -2
- data/docs/SelfMailerEditable.md +2 -2
- data/docs/SelfMailerList.md +2 -2
- data/docs/SelfMailerSize.md +2 -2
- data/docs/SelfMailersApi.md +21 -21
- data/docs/SortBy.md +2 -2
- data/docs/SortBy1.md +2 -2
- data/docs/SortBy2.md +2 -2
- data/docs/SortBy3.md +2 -2
- data/docs/SortByDateModified.md +2 -2
- data/docs/Suggestions.md +2 -2
- data/docs/Template.md +2 -2
- data/docs/TemplateDeletion.md +2 -2
- data/docs/TemplateList.md +2 -2
- data/docs/TemplateUpdate.md +2 -2
- data/docs/TemplateVersion.md +2 -2
- data/docs/TemplateVersionDeletion.md +2 -2
- data/docs/TemplateVersionList.md +2 -2
- data/docs/TemplateVersionUpdatable.md +2 -2
- data/docs/TemplateVersionWritable.md +2 -2
- data/docs/TemplateVersionsApi.md +23 -23
- data/docs/TemplateWritable.md +2 -2
- data/docs/TemplatesApi.md +23 -23
- data/docs/Thumbnail.md +2 -2
- data/docs/TrackingEventCertified.md +2 -2
- data/docs/TrackingEventDetails.md +2 -2
- data/docs/TrackingEventNormal.md +2 -2
- data/docs/Upload.md +2 -2
- data/docs/UploadCreateExport.md +2 -2
- data/docs/UploadFile.md +2 -2
- data/docs/UploadState.md +2 -2
- data/docs/UploadUpdatable.md +2 -2
- data/docs/UploadWritable.md +2 -2
- data/docs/UploadsApi.md +36 -36
- data/docs/UsAutocompletions.md +2 -2
- data/docs/UsAutocompletionsApi.md +6 -6
- data/docs/UsAutocompletionsWritable.md +2 -2
- data/docs/UsComponents.md +2 -2
- data/docs/UsVerification.md +2 -2
- data/docs/UsVerificationOrError.md +2 -2
- data/docs/UsVerifications.md +2 -2
- data/docs/UsVerificationsApi.md +11 -11
- data/docs/UsVerificationsWritable.md +2 -2
- data/docs/ValidationError.md +2 -2
- data/docs/Zip.md +2 -2
- data/docs/ZipCodeType.md +2 -2
- data/docs/ZipEditable.md +2 -2
- data/docs/ZipLookupCity.md +2 -2
- data/docs/ZipLookupsApi.md +6 -6
- data/lib/openapi_client/api/addresses_api.rb +1 -1
- data/lib/openapi_client/api/bank_accounts_api.rb +1 -1
- data/lib/openapi_client/api/billing_groups_api.rb +1 -1
- data/lib/openapi_client/api/buckslip_orders_api.rb +1 -1
- data/lib/openapi_client/api/buckslips_api.rb +1 -1
- data/lib/openapi_client/api/campaigns_api.rb +1 -1
- data/lib/openapi_client/api/card_orders_api.rb +1 -1
- data/lib/openapi_client/api/cards_api.rb +1 -1
- data/lib/openapi_client/api/checks_api.rb +1 -1
- data/lib/openapi_client/api/creatives_api.rb +1 -1
- data/lib/openapi_client/api/default_api.rb +1 -1
- data/lib/openapi_client/api/identity_validation_api.rb +1 -1
- data/lib/openapi_client/api/intl_autocompletions_api.rb +1 -1
- data/lib/openapi_client/api/intl_verifications_api.rb +1 -1
- data/lib/openapi_client/api/letters_api.rb +1 -1
- data/lib/openapi_client/api/postcards_api.rb +1 -1
- data/lib/openapi_client/api/reverse_geocode_lookups_api.rb +1 -1
- data/lib/openapi_client/api/self_mailers_api.rb +1 -1
- data/lib/openapi_client/api/template_versions_api.rb +1 -1
- data/lib/openapi_client/api/templates_api.rb +1 -1
- data/lib/openapi_client/api/uploads_api.rb +1 -1
- data/lib/openapi_client/api/us_autocompletions_api.rb +1 -1
- data/lib/openapi_client/api/us_verifications_api.rb +1 -1
- data/lib/openapi_client/api/zip_lookups_api.rb +1 -1
- data/lib/openapi_client/api_client.rb +2 -2
- data/lib/openapi_client/api_error.rb +1 -1
- data/lib/openapi_client/configuration.rb +1 -1
- data/lib/openapi_client/models/address.rb +4 -4
- data/lib/openapi_client/models/address_deletion.rb +4 -4
- data/lib/openapi_client/models/address_domestic.rb +4 -4
- data/lib/openapi_client/models/address_domestic_expanded.rb +4 -4
- data/lib/openapi_client/models/address_editable.rb +4 -4
- data/lib/openapi_client/models/address_list.rb +4 -4
- data/lib/openapi_client/models/bank_account.rb +4 -4
- data/lib/openapi_client/models/bank_account_deletion.rb +4 -4
- data/lib/openapi_client/models/bank_account_list.rb +4 -4
- data/lib/openapi_client/models/bank_account_verify.rb +4 -4
- data/lib/openapi_client/models/bank_account_writable.rb +4 -4
- data/lib/openapi_client/models/bank_type_enum.rb +1 -1
- data/lib/openapi_client/models/billing_group.rb +4 -4
- data/lib/openapi_client/models/billing_group_editable.rb +4 -4
- data/lib/openapi_client/models/billing_group_list.rb +4 -4
- data/lib/openapi_client/models/buckslip.rb +4 -4
- data/lib/openapi_client/models/buckslip_deletion.rb +4 -4
- data/lib/openapi_client/models/buckslip_editable.rb +4 -4
- data/lib/openapi_client/models/buckslip_order.rb +4 -4
- data/lib/openapi_client/models/buckslip_order_editable.rb +4 -4
- data/lib/openapi_client/models/buckslip_orders_list.rb +4 -4
- data/lib/openapi_client/models/buckslip_updatable.rb +4 -4
- data/lib/openapi_client/models/buckslips_list.rb +4 -4
- data/lib/openapi_client/models/bulk_error.rb +4 -4
- data/lib/openapi_client/models/bulk_error_properties.rb +4 -4
- data/lib/openapi_client/models/campaign.rb +4 -4
- data/lib/openapi_client/models/campaign_creative.rb +4 -4
- data/lib/openapi_client/models/campaign_deletion.rb +4 -4
- data/lib/openapi_client/models/campaign_updatable.rb +4 -4
- data/lib/openapi_client/models/campaign_writable.rb +4 -4
- data/lib/openapi_client/models/campaigns_list.rb +4 -4
- data/lib/openapi_client/models/card.rb +4 -4
- data/lib/openapi_client/models/card_deletion.rb +4 -4
- data/lib/openapi_client/models/card_editable.rb +4 -4
- data/lib/openapi_client/models/card_list.rb +4 -4
- data/lib/openapi_client/models/card_order.rb +4 -4
- data/lib/openapi_client/models/card_order_editable.rb +4 -4
- data/lib/openapi_client/models/card_order_list.rb +4 -4
- data/lib/openapi_client/models/card_updatable.rb +4 -4
- data/lib/openapi_client/models/check.rb +18 -8
- data/lib/openapi_client/models/check_deletion.rb +4 -4
- data/lib/openapi_client/models/check_editable.rb +18 -8
- data/lib/openapi_client/models/check_list.rb +4 -4
- data/lib/openapi_client/models/chk_use_type.rb +38 -0
- data/lib/openapi_client/models/cmp_schedule_type.rb +1 -1
- data/lib/openapi_client/models/cmp_use_type.rb +1 -1
- data/lib/openapi_client/models/country_extended.rb +1 -1
- data/lib/openapi_client/models/country_extended_expanded.rb +1 -1
- data/lib/openapi_client/models/creative_patch.rb +4 -4
- data/lib/openapi_client/models/creative_response.rb +4 -4
- data/lib/openapi_client/models/creative_writable.rb +5 -5
- data/lib/openapi_client/models/custom_envelope_returned.rb +4 -4
- data/lib/openapi_client/models/deliverability_analysis.rb +4 -4
- data/lib/openapi_client/models/dpv_footnote.rb +1 -1
- data/lib/openapi_client/models/engine_html.rb +1 -1
- data/lib/openapi_client/models/event_type.rb +4 -4
- data/lib/openapi_client/models/events.rb +4 -4
- data/lib/openapi_client/models/export.rb +4 -4
- data/lib/openapi_client/models/export_model.rb +4 -4
- data/lib/openapi_client/models/geocode_addresses.rb +4 -4
- data/lib/openapi_client/models/geocode_components.rb +4 -4
- data/lib/openapi_client/models/http_validation_error.rb +4 -4
- data/lib/openapi_client/models/identity_validation.rb +4 -4
- data/lib/openapi_client/models/inline_object.rb +4 -4
- data/lib/openapi_client/models/intl_autocompletions.rb +4 -4
- data/lib/openapi_client/models/intl_autocompletions_writable.rb +4 -4
- data/lib/openapi_client/models/intl_components.rb +4 -4
- data/lib/openapi_client/models/intl_suggestions.rb +4 -4
- data/lib/openapi_client/models/intl_verification.rb +4 -4
- data/lib/openapi_client/models/intl_verification_or_error.rb +4 -4
- data/lib/openapi_client/models/intl_verification_writable.rb +4 -4
- data/lib/openapi_client/models/intl_verifications.rb +4 -4
- data/lib/openapi_client/models/intl_verifications_payload.rb +4 -4
- data/lib/openapi_client/models/letter.rb +30 -9
- data/lib/openapi_client/models/letter_custom_envelope.rb +4 -4
- data/lib/openapi_client/models/letter_deletion.rb +4 -4
- data/lib/openapi_client/models/letter_details_returned.rb +5 -5
- data/lib/openapi_client/models/letter_details_writable.rb +4 -4
- data/lib/openapi_client/models/letter_editable.rb +18 -8
- data/lib/openapi_client/models/letter_list.rb +4 -4
- data/lib/openapi_client/models/lob_confidence_score.rb +4 -4
- data/lib/openapi_client/models/lob_error.rb +4 -4
- data/lib/openapi_client/models/location.rb +4 -4
- data/lib/openapi_client/models/location_analysis.rb +4 -4
- data/lib/openapi_client/models/ltr_use_type.rb +38 -0
- data/lib/openapi_client/models/mail_type.rb +1 -1
- data/lib/openapi_client/models/multi_line_address.rb +4 -4
- data/lib/openapi_client/models/multiple_components.rb +4 -4
- data/lib/openapi_client/models/multiple_components_intl.rb +4 -4
- data/lib/openapi_client/models/multiple_components_list.rb +4 -4
- data/lib/openapi_client/models/optional_address_column_mapping.rb +259 -0
- data/lib/openapi_client/models/placeholder_model.rb +4 -4
- data/lib/openapi_client/models/postcard.rb +18 -8
- data/lib/openapi_client/models/postcard_deletion.rb +4 -4
- data/lib/openapi_client/models/postcard_details_returned.rb +4 -4
- data/lib/openapi_client/models/postcard_details_writable.rb +4 -4
- data/lib/openapi_client/models/postcard_editable.rb +18 -8
- data/lib/openapi_client/models/postcard_list.rb +4 -4
- data/lib/openapi_client/models/postcard_size.rb +1 -1
- data/lib/openapi_client/models/psc_use_type.rb +38 -0
- data/lib/openapi_client/models/qr_code.rb +4 -4
- data/lib/openapi_client/models/required_address_column_mapping.rb +285 -0
- data/lib/openapi_client/models/return_envelope.rb +4 -4
- data/lib/openapi_client/models/reverse_geocode.rb +4 -4
- data/lib/openapi_client/models/self_mailer.rb +18 -8
- data/lib/openapi_client/models/self_mailer_deletion.rb +4 -4
- data/lib/openapi_client/models/self_mailer_editable.rb +18 -8
- data/lib/openapi_client/models/self_mailer_list.rb +4 -4
- data/lib/openapi_client/models/self_mailer_size.rb +1 -1
- data/lib/openapi_client/models/sfm_use_type.rb +38 -0
- data/lib/openapi_client/models/sort_by.rb +4 -4
- data/lib/openapi_client/models/sort_by1.rb +4 -4
- data/lib/openapi_client/models/sort_by2.rb +4 -4
- data/lib/openapi_client/models/sort_by3.rb +4 -4
- data/lib/openapi_client/models/sort_by_date_modified.rb +4 -4
- data/lib/openapi_client/models/suggestions.rb +4 -4
- data/lib/openapi_client/models/template.rb +4 -4
- data/lib/openapi_client/models/template_deletion.rb +4 -4
- data/lib/openapi_client/models/template_list.rb +4 -4
- data/lib/openapi_client/models/template_update.rb +4 -4
- data/lib/openapi_client/models/template_version.rb +4 -4
- data/lib/openapi_client/models/template_version_deletion.rb +4 -4
- data/lib/openapi_client/models/template_version_list.rb +4 -4
- data/lib/openapi_client/models/template_version_updatable.rb +4 -4
- data/lib/openapi_client/models/template_version_writable.rb +4 -4
- data/lib/openapi_client/models/template_writable.rb +4 -4
- data/lib/openapi_client/models/thumbnail.rb +4 -4
- data/lib/openapi_client/models/tracking_event_certified.rb +4 -4
- data/lib/openapi_client/models/tracking_event_details.rb +4 -4
- data/lib/openapi_client/models/tracking_event_normal.rb +4 -4
- data/lib/openapi_client/models/upload.rb +55 -48
- data/lib/openapi_client/models/upload_create_export.rb +4 -4
- data/lib/openapi_client/models/upload_file.rb +4 -4
- data/lib/openapi_client/models/upload_state.rb +1 -1
- data/lib/openapi_client/models/upload_updatable.rb +46 -19
- data/lib/openapi_client/models/upload_writable.rb +46 -30
- data/lib/openapi_client/models/uploads_metadata.rb +237 -0
- data/lib/openapi_client/models/us_autocompletions.rb +4 -4
- data/lib/openapi_client/models/us_autocompletions_writable.rb +4 -4
- data/lib/openapi_client/models/us_components.rb +7 -7
- data/lib/openapi_client/models/us_verification.rb +15 -5
- data/lib/openapi_client/models/us_verification_or_error.rb +4 -4
- data/lib/openapi_client/models/us_verifications.rb +4 -4
- data/lib/openapi_client/models/us_verifications_writable.rb +4 -4
- data/lib/openapi_client/models/validation_error.rb +4 -4
- data/lib/openapi_client/models/zip.rb +4 -4
- data/lib/openapi_client/models/zip_code_type.rb +1 -1
- data/lib/openapi_client/models/zip_editable.rb +4 -4
- data/lib/openapi_client/models/zip_lookup_city.rb +4 -4
- data/lib/openapi_client/version.rb +2 -2
- data/lib/openapi_client.rb +7 -0
- data/openapi_client.gemspec +1 -1
- data/spec/api/addresses_api_spec.rb +3 -3
- data/spec/api/bank_accounts_api_spec.rb +3 -3
- data/spec/api/billing_groups_api_spec.rb +3 -3
- data/spec/api/campaigns_api_spec.rb +3 -3
- data/spec/api/card_orders_api_spec.rb +3 -3
- data/spec/api/cards_api_spec.rb +3 -3
- data/spec/api/checks_api_spec.rb +3 -3
- data/spec/api/creatives_api_spec.rb +3 -3
- data/spec/api/default_api_spec.rb +3 -3
- data/spec/api/identity_validation_api_spec.rb +3 -3
- data/spec/api/intl_autocompletions_api_spec.rb +3 -3
- data/spec/api/intl_verifications_api_spec.rb +3 -3
- data/spec/api/letters_api_spec.rb +3 -3
- data/spec/api/postcards_api_spec.rb +3 -3
- data/spec/api/reverse_geocode_lookups_api_spec.rb +3 -3
- data/spec/api/self_mailers_api_spec.rb +3 -3
- data/spec/api/template_versions_api_spec.rb +3 -3
- data/spec/api/templates_api_spec.rb +3 -3
- data/spec/api/uploads_api_spec.rb +3 -3
- data/spec/api/us_autocompletions_api_spec.rb +3 -3
- data/spec/api/us_verifications_api_spec.rb +3 -3
- data/spec/api/zip_lookups_api_spec.rb +3 -3
- data/spec/api_client_spec.rb +29 -29
- data/spec/configuration_spec.rb +3 -3
- metadata +29 -20
data/docs/SelfMailerDeletion.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::SelfMailerDeletion
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
```ruby
|
14
14
|
require 'openapi_client'
|
15
15
|
|
16
|
-
instance =
|
16
|
+
instance = Lob::SelfMailerDeletion.new(
|
17
17
|
id: null,
|
18
18
|
deleted: null,
|
19
19
|
object: null
|
data/docs/SelfMailerEditable.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::SelfMailerEditable
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -21,7 +21,7 @@
|
|
21
21
|
```ruby
|
22
22
|
require 'openapi_client'
|
23
23
|
|
24
|
-
instance =
|
24
|
+
instance = Lob::SelfMailerEditable.new(
|
25
25
|
to: null,
|
26
26
|
from: null,
|
27
27
|
size: null,
|
data/docs/SelfMailerList.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::SelfMailerList
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
```ruby
|
17
17
|
require 'openapi_client'
|
18
18
|
|
19
|
-
instance =
|
19
|
+
instance = Lob::SelfMailerList.new(
|
20
20
|
data: null,
|
21
21
|
object: null,
|
22
22
|
next_url: null,
|
data/docs/SelfMailerSize.md
CHANGED
data/docs/SelfMailersApi.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::SelfMailersApi
|
2
2
|
|
3
3
|
All URIs are relative to *https://api.lob.com/v1*
|
4
4
|
|
@@ -24,14 +24,14 @@ Creates a new self_mailer given information
|
|
24
24
|
require 'time'
|
25
25
|
require 'openapi_client'
|
26
26
|
# setup authorization
|
27
|
-
|
27
|
+
Lob.configure do |config|
|
28
28
|
# Configure HTTP basic authorization: basicAuth
|
29
29
|
config.username = 'YOUR USERNAME'
|
30
30
|
config.password = 'YOUR PASSWORD'
|
31
31
|
end
|
32
32
|
|
33
|
-
api_instance =
|
34
|
-
self_mailer_editable =
|
33
|
+
api_instance = Lob::SelfMailersApi.new
|
34
|
+
self_mailer_editable = Lob::SelfMailerEditable.new({to: 'to_example', inside: 'inside_example', outside: 'outside_example'}) # SelfMailerEditable |
|
35
35
|
opts = {
|
36
36
|
idempotency_key: 'idempotency_key_example' # String | A string of no longer than 256 characters that uniquely identifies this resource. For more help integrating idempotency keys, refer to our [implementation guide](https://www.lob.com/guides#idempotent_request).
|
37
37
|
}
|
@@ -40,7 +40,7 @@ begin
|
|
40
40
|
# create
|
41
41
|
result = api_instance.create(self_mailer_editable, opts)
|
42
42
|
p result
|
43
|
-
rescue
|
43
|
+
rescue Lob::ApiError => e
|
44
44
|
puts "Error when calling SelfMailersApi->create: #{e}"
|
45
45
|
end
|
46
46
|
```
|
@@ -58,7 +58,7 @@ begin
|
|
58
58
|
p status_code # => 2xx
|
59
59
|
p headers # => { ... }
|
60
60
|
p data # => <SelfMailer>
|
61
|
-
rescue
|
61
|
+
rescue Lob::ApiError => e
|
62
62
|
puts "Error when calling SelfMailersApi->self_mailer_create_with_http_info: #{e}"
|
63
63
|
end
|
64
64
|
```
|
@@ -98,20 +98,20 @@ Completely removes a self mailer from production. This can only be done if the s
|
|
98
98
|
require 'time'
|
99
99
|
require 'openapi_client'
|
100
100
|
# setup authorization
|
101
|
-
|
101
|
+
Lob.configure do |config|
|
102
102
|
# Configure HTTP basic authorization: basicAuth
|
103
103
|
config.username = 'YOUR USERNAME'
|
104
104
|
config.password = 'YOUR PASSWORD'
|
105
105
|
end
|
106
106
|
|
107
|
-
api_instance =
|
107
|
+
api_instance = Lob::SelfMailersApi.new
|
108
108
|
sfm_id = 'sfm_id_example' # String | id of the self_mailer
|
109
109
|
|
110
110
|
begin
|
111
111
|
# delete
|
112
112
|
result = api_instance.delete(sfm_id)
|
113
113
|
p result
|
114
|
-
rescue
|
114
|
+
rescue Lob::ApiError => e
|
115
115
|
puts "Error when calling SelfMailersApi->delete: #{e}"
|
116
116
|
end
|
117
117
|
```
|
@@ -129,7 +129,7 @@ begin
|
|
129
129
|
p status_code # => 2xx
|
130
130
|
p headers # => { ... }
|
131
131
|
p data # => <SelfMailerDeletion>
|
132
|
-
rescue
|
132
|
+
rescue Lob::ApiError => e
|
133
133
|
puts "Error when calling SelfMailersApi->self_mailer_delete_with_http_info: #{e}"
|
134
134
|
end
|
135
135
|
```
|
@@ -168,20 +168,20 @@ Retrieves the details of an existing self_mailer. You need only supply the uniqu
|
|
168
168
|
require 'time'
|
169
169
|
require 'openapi_client'
|
170
170
|
# setup authorization
|
171
|
-
|
171
|
+
Lob.configure do |config|
|
172
172
|
# Configure HTTP basic authorization: basicAuth
|
173
173
|
config.username = 'YOUR USERNAME'
|
174
174
|
config.password = 'YOUR PASSWORD'
|
175
175
|
end
|
176
176
|
|
177
|
-
api_instance =
|
177
|
+
api_instance = Lob::SelfMailersApi.new
|
178
178
|
sfm_id = 'sfm_id_example' # String | id of the self_mailer
|
179
179
|
|
180
180
|
begin
|
181
181
|
# get
|
182
182
|
result = api_instance.get(sfm_id)
|
183
183
|
p result
|
184
|
-
rescue
|
184
|
+
rescue Lob::ApiError => e
|
185
185
|
puts "Error when calling SelfMailersApi->get: #{e}"
|
186
186
|
end
|
187
187
|
```
|
@@ -199,7 +199,7 @@ begin
|
|
199
199
|
p status_code # => 2xx
|
200
200
|
p headers # => { ... }
|
201
201
|
p data # => <SelfMailer>
|
202
|
-
rescue
|
202
|
+
rescue Lob::ApiError => e
|
203
203
|
puts "Error when calling SelfMailersApi->self_mailer_retrieve_with_http_info: #{e}"
|
204
204
|
end
|
205
205
|
```
|
@@ -238,13 +238,13 @@ Returns a list of your self_mailers. The self_mailers are returned sorted by cre
|
|
238
238
|
require 'time'
|
239
239
|
require 'openapi_client'
|
240
240
|
# setup authorization
|
241
|
-
|
241
|
+
Lob.configure do |config|
|
242
242
|
# Configure HTTP basic authorization: basicAuth
|
243
243
|
config.username = 'YOUR USERNAME'
|
244
244
|
config.password = 'YOUR PASSWORD'
|
245
245
|
end
|
246
246
|
|
247
|
-
api_instance =
|
247
|
+
api_instance = Lob::SelfMailersApi.new
|
248
248
|
opts = {
|
249
249
|
limit: 56, # Integer | How many results to return.
|
250
250
|
before: 'before_example', # String | A reference to a list entry used for paginating to the previous set of entries. This field is pre-populated in the `previous_url` field in the return response.
|
@@ -252,18 +252,18 @@ opts = {
|
|
252
252
|
include: ['inner_example'], # Array<String> | Request that the response include the total count by specifying `include[]=total_count`.
|
253
253
|
date_created: { key: Time.now}, # Hash<String, Time> | Filter by date created.
|
254
254
|
metadata: { key: 'inner_example'}, # Hash<String, String> | Filter by metadata key-value pair`.
|
255
|
-
size: [
|
255
|
+
size: [Lob::SelfMailerSize::N6X18_BIFOLD], # Array<SelfMailerSize> | The self mailer sizes to be returned.
|
256
256
|
scheduled: true, # Boolean | * `true` - only return orders (past or future) where `send_date` is greater than `date_created` * `false` - only return orders where `send_date` is equal to `date_created`
|
257
257
|
send_date: { key: 'inner_example'}, # Hash<String, String> | Filter by date sent.
|
258
|
-
mail_type:
|
259
|
-
sort_by:
|
258
|
+
mail_type: Lob::MailType::FIRST_CLASS, # MailType | A string designating the mail postage type: * `usps_first_class` - (default) * `usps_standard` - a [cheaper option](https://lob.com/pricing/print-mail#compare) which is less predictable and takes longer to deliver. `usps_standard` cannot be used with `4x6` postcards or for any postcards sent outside of the United States.
|
259
|
+
sort_by: Lob::SortBy3.new # SortBy3 | Sorts items by ascending or descending dates. Use either `date_created` or `send_date`, not both.
|
260
260
|
}
|
261
261
|
|
262
262
|
begin
|
263
263
|
# list
|
264
264
|
result = api_instance.list(opts)
|
265
265
|
p result
|
266
|
-
rescue
|
266
|
+
rescue Lob::ApiError => e
|
267
267
|
puts "Error when calling SelfMailersApi->list: #{e}"
|
268
268
|
end
|
269
269
|
```
|
@@ -281,7 +281,7 @@ begin
|
|
281
281
|
p status_code # => 2xx
|
282
282
|
p headers # => { ... }
|
283
283
|
p data # => <SelfMailerList>
|
284
|
-
rescue
|
284
|
+
rescue Lob::ApiError => e
|
285
285
|
puts "Error when calling SelfMailersApi->self_mailers_list_with_http_info: #{e}"
|
286
286
|
end
|
287
287
|
```
|
data/docs/SortBy.md
CHANGED
data/docs/SortBy1.md
CHANGED
data/docs/SortBy2.md
CHANGED
data/docs/SortBy3.md
CHANGED
data/docs/SortByDateModified.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::SortByDateModified
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
```ruby
|
13
13
|
require 'openapi_client'
|
14
14
|
|
15
|
-
instance =
|
15
|
+
instance = Lob::SortByDateModified.new(
|
16
16
|
date_created: null,
|
17
17
|
date_modified: null
|
18
18
|
)
|
data/docs/Suggestions.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::Suggestions
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
```ruby
|
16
16
|
require 'openapi_client'
|
17
17
|
|
18
|
-
instance =
|
18
|
+
instance = Lob::Suggestions.new(
|
19
19
|
primary_line: null,
|
20
20
|
city: null,
|
21
21
|
state: null,
|
data/docs/Template.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::Template
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -19,7 +19,7 @@
|
|
19
19
|
```ruby
|
20
20
|
require 'openapi_client'
|
21
21
|
|
22
|
-
instance =
|
22
|
+
instance = Lob::Template.new(
|
23
23
|
description: null,
|
24
24
|
id: null,
|
25
25
|
versions: null,
|
data/docs/TemplateDeletion.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::TemplateDeletion
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
```ruby
|
14
14
|
require 'openapi_client'
|
15
15
|
|
16
|
-
instance =
|
16
|
+
instance = Lob::TemplateDeletion.new(
|
17
17
|
id: null,
|
18
18
|
deleted: null,
|
19
19
|
object: null
|
data/docs/TemplateList.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::TemplateList
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
```ruby
|
17
17
|
require 'openapi_client'
|
18
18
|
|
19
|
-
instance =
|
19
|
+
instance = Lob::TemplateList.new(
|
20
20
|
data: null,
|
21
21
|
object: null,
|
22
22
|
next_url: null,
|
data/docs/TemplateUpdate.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::TemplateUpdate
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
```ruby
|
13
13
|
require 'openapi_client'
|
14
14
|
|
15
|
-
instance =
|
15
|
+
instance = Lob::TemplateUpdate.new(
|
16
16
|
description: null,
|
17
17
|
published_version: null
|
18
18
|
)
|
data/docs/TemplateVersion.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::TemplateVersion
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -20,7 +20,7 @@
|
|
20
20
|
```ruby
|
21
21
|
require 'openapi_client'
|
22
22
|
|
23
|
-
instance =
|
23
|
+
instance = Lob::TemplateVersion.new(
|
24
24
|
id: null,
|
25
25
|
description: null,
|
26
26
|
html: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::TemplateVersionDeletion
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
```ruby
|
14
14
|
require 'openapi_client'
|
15
15
|
|
16
|
-
instance =
|
16
|
+
instance = Lob::TemplateVersionDeletion.new(
|
17
17
|
id: null,
|
18
18
|
deleted: null,
|
19
19
|
object: null
|
data/docs/TemplateVersionList.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::TemplateVersionList
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
```ruby
|
17
17
|
require 'openapi_client'
|
18
18
|
|
19
|
-
instance =
|
19
|
+
instance = Lob::TemplateVersionList.new(
|
20
20
|
data: null,
|
21
21
|
object: null,
|
22
22
|
next_url: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::TemplateVersionUpdatable
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
```ruby
|
13
13
|
require 'openapi_client'
|
14
14
|
|
15
|
-
instance =
|
15
|
+
instance = Lob::TemplateVersionUpdatable.new(
|
16
16
|
description: null,
|
17
17
|
engine: null
|
18
18
|
)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::TemplateVersionWritable
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
```ruby
|
14
14
|
require 'openapi_client'
|
15
15
|
|
16
|
-
instance =
|
16
|
+
instance = Lob::TemplateVersionWritable.new(
|
17
17
|
description: null,
|
18
18
|
html: null,
|
19
19
|
engine: null
|
data/docs/TemplateVersionsApi.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::TemplateVersionsApi
|
2
2
|
|
3
3
|
All URIs are relative to *https://api.lob.com/v1*
|
4
4
|
|
@@ -25,21 +25,21 @@ Creates a new template version attached to the specified template.
|
|
25
25
|
require 'time'
|
26
26
|
require 'openapi_client'
|
27
27
|
# setup authorization
|
28
|
-
|
28
|
+
Lob.configure do |config|
|
29
29
|
# Configure HTTP basic authorization: basicAuth
|
30
30
|
config.username = 'YOUR USERNAME'
|
31
31
|
config.password = 'YOUR PASSWORD'
|
32
32
|
end
|
33
33
|
|
34
|
-
api_instance =
|
34
|
+
api_instance = Lob::TemplateVersionsApi.new
|
35
35
|
tmpl_id = 'tmpl_id_example' # String | The ID of the template the new version will be attached to
|
36
|
-
template_version_writable =
|
36
|
+
template_version_writable = Lob::TemplateVersionWritable.new({html: 'html_example'}) # TemplateVersionWritable |
|
37
37
|
|
38
38
|
begin
|
39
39
|
# create
|
40
40
|
result = api_instance.create(tmpl_id, template_version_writable)
|
41
41
|
p result
|
42
|
-
rescue
|
42
|
+
rescue Lob::ApiError => e
|
43
43
|
puts "Error when calling TemplateVersionsApi->create: #{e}"
|
44
44
|
end
|
45
45
|
```
|
@@ -57,7 +57,7 @@ begin
|
|
57
57
|
p status_code # => 2xx
|
58
58
|
p headers # => { ... }
|
59
59
|
p data # => <TemplateVersion>
|
60
|
-
rescue
|
60
|
+
rescue Lob::ApiError => e
|
61
61
|
puts "Error when calling TemplateVersionsApi->create_template_version_with_http_info: #{e}"
|
62
62
|
end
|
63
63
|
```
|
@@ -97,13 +97,13 @@ Permanently deletes a template version. A template's `published_version` can not
|
|
97
97
|
require 'time'
|
98
98
|
require 'openapi_client'
|
99
99
|
# setup authorization
|
100
|
-
|
100
|
+
Lob.configure do |config|
|
101
101
|
# Configure HTTP basic authorization: basicAuth
|
102
102
|
config.username = 'YOUR USERNAME'
|
103
103
|
config.password = 'YOUR PASSWORD'
|
104
104
|
end
|
105
105
|
|
106
|
-
api_instance =
|
106
|
+
api_instance = Lob::TemplateVersionsApi.new
|
107
107
|
tmpl_id = 'tmpl_id_example' # String | The ID of the template to which the version belongs.
|
108
108
|
vrsn_id = 'vrsn_id_example' # String | id of the template_version
|
109
109
|
|
@@ -111,7 +111,7 @@ begin
|
|
111
111
|
# delete
|
112
112
|
result = api_instance.delete(tmpl_id, vrsn_id)
|
113
113
|
p result
|
114
|
-
rescue
|
114
|
+
rescue Lob::ApiError => e
|
115
115
|
puts "Error when calling TemplateVersionsApi->delete: #{e}"
|
116
116
|
end
|
117
117
|
```
|
@@ -129,7 +129,7 @@ begin
|
|
129
129
|
p status_code # => 2xx
|
130
130
|
p headers # => { ... }
|
131
131
|
p data # => <TemplateVersionDeletion>
|
132
|
-
rescue
|
132
|
+
rescue Lob::ApiError => e
|
133
133
|
puts "Error when calling TemplateVersionsApi->template_version_delete_with_http_info: #{e}"
|
134
134
|
end
|
135
135
|
```
|
@@ -169,13 +169,13 @@ Retrieves the template version with the given template and version ids.
|
|
169
169
|
require 'time'
|
170
170
|
require 'openapi_client'
|
171
171
|
# setup authorization
|
172
|
-
|
172
|
+
Lob.configure do |config|
|
173
173
|
# Configure HTTP basic authorization: basicAuth
|
174
174
|
config.username = 'YOUR USERNAME'
|
175
175
|
config.password = 'YOUR PASSWORD'
|
176
176
|
end
|
177
177
|
|
178
|
-
api_instance =
|
178
|
+
api_instance = Lob::TemplateVersionsApi.new
|
179
179
|
tmpl_id = 'tmpl_id_example' # String | The ID of the template to which the version belongs.
|
180
180
|
vrsn_id = 'vrsn_id_example' # String | id of the template_version
|
181
181
|
|
@@ -183,7 +183,7 @@ begin
|
|
183
183
|
# get
|
184
184
|
result = api_instance.get(tmpl_id, vrsn_id)
|
185
185
|
p result
|
186
|
-
rescue
|
186
|
+
rescue Lob::ApiError => e
|
187
187
|
puts "Error when calling TemplateVersionsApi->get: #{e}"
|
188
188
|
end
|
189
189
|
```
|
@@ -201,7 +201,7 @@ begin
|
|
201
201
|
p status_code # => 2xx
|
202
202
|
p headers # => { ... }
|
203
203
|
p data # => <TemplateVersion>
|
204
|
-
rescue
|
204
|
+
rescue Lob::ApiError => e
|
205
205
|
puts "Error when calling TemplateVersionsApi->template_version_retrieve_with_http_info: #{e}"
|
206
206
|
end
|
207
207
|
```
|
@@ -241,22 +241,22 @@ Updates the template version with the given template and version ids.
|
|
241
241
|
require 'time'
|
242
242
|
require 'openapi_client'
|
243
243
|
# setup authorization
|
244
|
-
|
244
|
+
Lob.configure do |config|
|
245
245
|
# Configure HTTP basic authorization: basicAuth
|
246
246
|
config.username = 'YOUR USERNAME'
|
247
247
|
config.password = 'YOUR PASSWORD'
|
248
248
|
end
|
249
249
|
|
250
|
-
api_instance =
|
250
|
+
api_instance = Lob::TemplateVersionsApi.new
|
251
251
|
tmpl_id = 'tmpl_id_example' # String | The ID of the template to which the version belongs.
|
252
252
|
vrsn_id = 'vrsn_id_example' # String | id of the template_version
|
253
|
-
template_version_updatable =
|
253
|
+
template_version_updatable = Lob::TemplateVersionUpdatable.new # TemplateVersionUpdatable |
|
254
254
|
|
255
255
|
begin
|
256
256
|
# update
|
257
257
|
result = api_instance.update(tmpl_id, vrsn_id, template_version_updatable)
|
258
258
|
p result
|
259
|
-
rescue
|
259
|
+
rescue Lob::ApiError => e
|
260
260
|
puts "Error when calling TemplateVersionsApi->update: #{e}"
|
261
261
|
end
|
262
262
|
```
|
@@ -274,7 +274,7 @@ begin
|
|
274
274
|
p status_code # => 2xx
|
275
275
|
p headers # => { ... }
|
276
276
|
p data # => <TemplateVersion>
|
277
|
-
rescue
|
277
|
+
rescue Lob::ApiError => e
|
278
278
|
puts "Error when calling TemplateVersionsApi->template_version_update_with_http_info: #{e}"
|
279
279
|
end
|
280
280
|
```
|
@@ -315,13 +315,13 @@ Returns a list of template versions for the given template ID. The template vers
|
|
315
315
|
require 'time'
|
316
316
|
require 'openapi_client'
|
317
317
|
# setup authorization
|
318
|
-
|
318
|
+
Lob.configure do |config|
|
319
319
|
# Configure HTTP basic authorization: basicAuth
|
320
320
|
config.username = 'YOUR USERNAME'
|
321
321
|
config.password = 'YOUR PASSWORD'
|
322
322
|
end
|
323
323
|
|
324
|
-
api_instance =
|
324
|
+
api_instance = Lob::TemplateVersionsApi.new
|
325
325
|
tmpl_id = 'tmpl_id_example' # String | The ID of the template associated with the retrieved versions
|
326
326
|
opts = {
|
327
327
|
limit: 56, # Integer | How many results to return.
|
@@ -335,7 +335,7 @@ begin
|
|
335
335
|
# list
|
336
336
|
result = api_instance.list(tmpl_id, opts)
|
337
337
|
p result
|
338
|
-
rescue
|
338
|
+
rescue Lob::ApiError => e
|
339
339
|
puts "Error when calling TemplateVersionsApi->list: #{e}"
|
340
340
|
end
|
341
341
|
```
|
@@ -353,7 +353,7 @@ begin
|
|
353
353
|
p status_code # => 2xx
|
354
354
|
p headers # => { ... }
|
355
355
|
p data # => <TemplateVersionList>
|
356
|
-
rescue
|
356
|
+
rescue Lob::ApiError => e
|
357
357
|
puts "Error when calling TemplateVersionsApi->template_versions_list_with_http_info: #{e}"
|
358
358
|
end
|
359
359
|
```
|
data/docs/TemplateWritable.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::TemplateWritable
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
```ruby
|
15
15
|
require 'openapi_client'
|
16
16
|
|
17
|
-
instance =
|
17
|
+
instance = Lob::TemplateWritable.new(
|
18
18
|
description: null,
|
19
19
|
html: null,
|
20
20
|
metadata: null,
|