class BigcommerceOAuthAPI::Error

Public Instance Methods

inspect() click to toggle source
# File lib/bigcommerce-oauth-api/error.rb, line 10
def inspect
  "#<BigcommerceOAuthAPI::Error: BigcommerceOAuthAPI::Error message=\"#{message}\">"
end
to_h() click to toggle source
# File lib/bigcommerce-oauth-api/error.rb, line 6
def to_h
  JSON.parse(message, symbolize_names: true) rescue {}
end