Sha256: 62ec9d19e8e976fde01323723b00733b6bfe38970ceb45b6df79ef1f22ada991

Contents?: true

Size: 394 Bytes

Versions: 4

Compression:

Stored size: 394 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

4 entries across 4 versions & 1 rubygems

Version Path
npr-1.1.0 lib/npr/entity/show.rb
npr-0.1.2 lib/npr/entity/show.rb
npr-0.1.1 lib/npr/entity/show.rb
npr-0.1.0 lib/npr/entity/show.rb