@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require './lib/pkparse/response'
require './lib/pkparse/error'
require './lib/pkparse/response_error'
module PKParse
class Error < StandardError
attr_accessor :original_exception
# Define a PKParse::Pokemon to keep Rails' model distinct and allow this to be
# updated independently without fear of breaking the app.
class Response
attr_accessor :response, :pokemon
class ResponseError < Error
def initialize(e)
class TaggedLogger
attr_reader :logger, :tag
require 'rails_helper'
RSpec.describe PKParse::Client do