class Strapi::Error
An error raised within the Strapi
ruby library
Attributes
details[R]
message[R]
name[R]
status[R]
Public Class Methods
new(hash = {})
click to toggle source
Calls superclass method
# File lib/strapi/error.rb, line 8 def initialize(hash = {}) super @status = hash['status'] @name = hash['name'] @message = hash['message'] @details = hash['details'] end