Sha256: f6166b38f811e387c5dc618545517ed00ac727a3152550dc887011e7dc7df984

Contents?: true

Size: 686 Bytes

Versions: 2

Compression:

Stored size: 686 Bytes

Contents

# frozen-string-literal: true

module SleeperRb
  module Resources
    class League
      class Transaction
        ##
        # Miscellaneous information about the transaction, for example notes about why a waiver bid did not go through.
        class Metadata
          include SleeperRb::Utilities::Cache

          # The Sleeper documentation lists this field for transactions but none of the examples show the actual
          # structure of the object. This is left here for now as a placeholder to be filled in once I come across
          # a transaction where the metadata is not null.
          cached_attr

          skip_refresh :all
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sleeper_rb-0.2.1 lib/sleeper_rb/resources/league/transaction/metadata.rb
sleeper_rb-0.2.0 lib/sleeper_rb/resources/league/transaction/metadata.rb