class Beget::RequestError
General method error
Attributes
code[R]
text[R]
Public Class Methods
new(code, text)
click to toggle source
Calls superclass method
# File lib/beget_api.rb, line 86 def initialize(code, text) super() @code = code @text = text end
Public Instance Methods
to_s()
click to toggle source
# File lib/beget_api.rb, line 92 def to_s %(#{@code}: #{@text}) end