Sha256: 7a93052798d0c77488c105069e44e2f7cee7f56a8ca16394f66594b9416d8dc6

Contents?: true

Size: 404 Bytes

Versions: 2

Compression:

Stored size: 404 Bytes

Contents

# frozen-string-literal: true

module SleeperRb
  module Resources
    class User
      ##
      # Metadata exists only when the User object was retrieved from a league. Includes team_name for that league.
      class Metadata
        include SleeperRb::Utilities::Cache

        ##
        # :attr_reader: team_name

        cached_attr :team_name

        skip_refresh :all
      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/user/metadata.rb
sleeper_rb-0.2.0 lib/sleeper_rb/resources/user/metadata.rb