Sha256: d82db8b05b6bea6d709bff35eaa7a0a665aa7ca0d225f72aeb27e2a1ce3b54bf
Contents?: true
Size: 337 Bytes
Versions: 16
Compression:
Stored size: 337 Bytes
Contents
# frozen_string_literal: true require 'json' # Webhook Events are triggered by changes in objects you've created via the API. class EasyPost::Event < EasyPost::Resource # Converts a raw webhook event into an EasyPost object. def self.receive(values) EasyPost::Util.convert_to_easypost_object(JSON.parse(values), nil) end end
Version data entries
16 entries across 16 versions & 1 rubygems