Sha256: 1f237268342dd60ef1d42bba2125c9bf9d662f9556baf8fab2b78ef29b097a23
Contents?: true
Size: 874 Bytes
Versions: 4
Compression:
Stored size: 874 Bytes
Contents
# bandwidth # # This file was automatically generated by APIMATIC v2.0 # ( https://apimatic.io ). module Bandwidth # Accounts Tnlookup 400 Error class. class AccountsTnlookup400ErrorException < APIException # A description of what validation error occurred. # @return [String] attr_accessor :message # The constructor. # @param [String] The reason for raising an exception. # @param [HttpResponse] The HttpReponse of the API call. def initialize(reason, response) super(reason, response) hash = APIHelper.json_deserialize(@response.raw_body) unbox(hash) end # Populates this object by extracting properties from a hash. # @param [Hash] The deserialized response sent by the server in the # response body. def unbox(hash) @message = hash['message'] end end end
Version data entries
4 entries across 4 versions & 1 rubygems