Sha256: 5152abe06c55aa524849b2d5151d5c83fa4ee38662be6483ab057a32b550edad

Contents?: true

Size: 446 Bytes

Versions: 2

Compression:

Stored size: 446 Bytes

Contents

module Xolphin
  module Api
    module Responses
      class ValidationCalls < Base
        def initialize(data)
          super(data)
        end

        def calls
          @calls ||= begin
            calls = []

            if @data["list"]
              @data["list"].each do |call|
                calls << ValidationCall.new(call)
              end
            end

            calls
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xolphin-api-1.9.0 lib/xolphin/api/responses/validation_calls.rb
xolphin-api-1.8.0 lib/xolphin/api/responses/validation_calls.rb