Sha256: 4b83f5f8c98ee45e0549ff2a2663e8a92238a410ca6665939f9cdafe01348ef1

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

# encoding: utf-8

module Riksteatern
  class Producer
    attr_reader :id, :name, :main_contact_id, :homepage, :logotype

    def initialize(data)
      @id              = data['producerId']
      @name            = data['producerName']
      @main_contact_id = data['mainContactId']
      @homepage        = data['producerHomepage']
      @logotype        = data['producerLogotype']
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
riksteatern-0.0.1 lib/riksteatern/producer.rb