class BeeswaxAPI::Errors::FailureResponse

Attributes

errors[R]

Public Class Methods

new(errors: []) click to toggle source
# File lib/beeswaxapi/errors/failure_response.rb, line 6
def initialize(errors: [])
  @errors = errors
end

Public Instance Methods

to_s() click to toggle source
# File lib/beeswaxapi/errors/failure_response.rb, line 10
def to_s
  errors.join(', ')
end