Sha256: 037c66b66654a3857cdf9cec2effe150c3c6808b781a387efde34bad3e54a9b7

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

require "skala/adapter/operation/result"
require "skala/loan"
require_relative "../get_user_inter_library_loans"

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

  attribute :inter_library_loans, Array[Skala::Loan]

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

Version data entries

1 entries across 1 versions & 1 rubygems

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