Sha256: 1c4d8897739431935c240efbde44c80d3380391a5da6aa7a33afc7c219856679

Contents?: true

Size: 411 Bytes

Versions: 12

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

module AhlScraper
  module Games
    class Referee < Resource
      def first_name
        @first_name ||= @raw_data[:firstName]
      end

      def last_name
        @last_name ||= @raw_data[:lastName]
      end

      def jersey_number
        @jersey_number ||= @raw_data[:jerseyNumber]
      end

      def role
        @role ||= @raw_data[:role]
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ahl_scraper-0.4.0 lib/ahl_scraper/resources/games/referee.rb
ahl_scraper-0.3.8 lib/ahl_scraper/resources/games/referee.rb
ahl_scraper-0.3.7 lib/ahl_scraper/resources/games/referee.rb
ahl_scraper-0.3.6 lib/ahl_scraper/resources/games/referee.rb
ahl_scraper-0.3.5 lib/ahl_scraper/resources/games/referee.rb
ahl_scraper-0.3.4 lib/ahl_scraper/resources/games/referee.rb
ahl_scraper-0.3.3 lib/ahl_scraper/resources/games/referee.rb
ahl_scraper-0.3.2 lib/ahl_scraper/resources/games/referee.rb
ahl_scraper-0.3.1 lib/ahl_scraper/resources/games/referee.rb
ahl_scraper-0.3.0 lib/ahl_scraper/resources/games/referee.rb
ahl_scraper-0.2.0 lib/ahl_scraper/resources/games/referee.rb
ahl_scraper-0.1.1 lib/ahl_scraper/resources/games/referee.rb