include Lob
config = Configuration.new
config.username = api_key
api_client = ApiClient.new(config)
letter_api = LettersApi.new(api_client)
letter_api.get('ltr_1234567890')
invalid value for "type", must be one of ["normal"]. (ArgumentError)
fail ArgumentError, "invalid value for \"type\", must be one of #{validator.allowable_values}."
Reviewing the library code, I'm guessing this issue stems from lib/lob/models/letter.rb:184
|
:'tracking_events' => :'Array<TrackingEventNormal>', |
:'tracking_events' => :'Array<TrackingEventNormal>',
It's set to TrackingEventNormal but I assume I need TrackingEventCertified