Closed acimadamore closed 1 year ago
There's this workaround until an official patch:
# initializers/lob_letter.rb
module Lob
class Letter
def tracking_events=(tracking_events)
@tracking_events = tracking_events
end
end
end
FYI that in our codebase, we use sorbet to check (both statically and at runtime) that tracking_events is an array of Lob::TrackingEventNormal. I omitted the sorbet signatures. You can easily add runtime checking directly.
Great thanks!
Hi! i'm having trouble retrieving letters using the
Lob::LettersApi#get
method.Steps to reproduce. Like in the docs:
Result:
I've tried to use the configuration option
client_side_validation
but the result was the same.I'm using lob gem version 6.0.2 on ruby 2.7.7.
Thanks!