Sha256: 507811371384b7adbad30c31cda284a9abbdccfa74864082f854ea2a19acf32c

Contents?: true

Size: 372 Bytes

Versions: 5

Compression:

Stored size: 372 Bytes

Contents

##
# NPR::Entity::Show
#
module NPR
  module Entity
    class Show < Base
      attr_accessor :program
      shallow_attribute "showDate", "segNum"

      def initialize(json)
        extract_shallow_attributes(json)

        if program = json["program"]
          @program = NPR::Entity::Program.new(program)
        end
      end
    end # Show
  end # Entity
end # NPR

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
npr-3.0.0 lib/npr/entity/show.rb
npr-2.0.2 lib/npr/entity/show.rb
npr-2.0.1 lib/npr/entity/show.rb
npr-2.0.0 lib/npr/entity/show.rb
npr-1.2.0 lib/npr/entity/show.rb