class Shift::Api::Core::Errors::ApiError

Attributes

env[R]

Public Class Methods

from_jsonapi_client(ex) click to toggle source
# File lib/shift/api/core/errors.rb, line 14
def self.from_jsonapi_client(ex)
  new(ex.env)
end
new(env) click to toggle source
# File lib/shift/api/core/errors.rb, line 10
def initialize(env)
  @env = env
end