Sha256: 7eb839b17ee409a1b3a4c2d81f8b8b91e60d80f573caff0f829eec70dfcb5b94

Contents?: true

Size: 319 Bytes

Versions: 4

Compression:

Stored size: 319 Bytes

Contents

##
# NPR::Entity::MemberByline
#
module NPR
  module Entity
    class MemberByline < Base
      attr_accessor :refId, :num
      
      #-------------------
      
      def initialize(json)
        @refId = json["refId"].to_i
        @num   = json["num"].to_i
      end
    end # MemberByline
  end # Entity
end # NPR

Version data entries

4 entries across 4 versions & 1 rubygems

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