class Xolphin::Api::Responses::RequestValidation

Public Class Methods

new(data) click to toggle source
Calls superclass method Xolphin::Api::Responses::Base::new
# File lib/xolphin/api/responses/request_validation.rb, line 5
def initialize(data)
  super(data)
end

Public Instance Methods

domains() click to toggle source
# File lib/xolphin/api/responses/request_validation.rb, line 21
def domains
  @domains ||= begin
    domains = []

    if @data["domains"]
      @data["domains"].each do |domain|
        domains << RequestValidationDomain.new(domain)
      end
    end

    domains
  end
end
status() click to toggle source
# File lib/xolphin/api/responses/request_validation.rb, line 9
def status
  @data["status"]
end
status_detail() click to toggle source
# File lib/xolphin/api/responses/request_validation.rb, line 13
def status_detail
  @data["statusDetail"]
end
status_message() click to toggle source
# File lib/xolphin/api/responses/request_validation.rb, line 17
def status_message
  @data["statusMessage"]
end