Sha256: a2dcf08b5810d8826121215edf4fce1329790c6f2e4caa4b0a617cc927f26de1

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 Bytes

Contents

require "skala/adapter/operation/result"
require "skala/hold_request"
require_relative "../get_user_hold_requests"

class Skala::Adapter::GetUserHoldRequests::Result < Skala::Adapter::Operation::Result
  include Enumerable
  include Virtus.model

  attribute :hold_requests, Array[Skala::HoldRequest]

  def each
    block_given? ? hold_requests.each { |_element| yield _element } : hold_requests.each
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skala-1.1.0 lib/skala/adapter/get_user_hold_requests/result.rb