class Icalia::Event::DeserializableCodeIssue

DeserializableCodeIssue

Converts a JSONAPI.org serialization of a `CodeIssue` object from a
Notification topic into an `ActionController::Parameters` object that can be
used to create or update code issue data

Constants

LOCATION_DATA_KEYS

Public Class Methods

deserialize_location_data(location_data) click to toggle source
# File lib/icalia-sdk-event-core/serialization/deserializable_code_issue.rb, line 12
def self.deserialize_location_data(location_data)
  location_data
    .slice(*LOCATION_DATA_KEYS)
    .transform_keys { |key| key.underscore.to_sym }
end