Sha256: b4e1ecf224292626a5d054584bb1153350451849adda3ca7613805d5cec43996

Contents?: true

Size: 287 Bytes

Versions: 3

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true
module PhoneSites
  class PhoneModel < Base

    parseable_attributes :name, :url, :picture_url, :description
    attr_accessor :manufacturer

    def initialize(data, manufacturer)
      self.manufacturer = manufacturer
      super(data)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phone_sites-0.0.5 lib/phone_sites/phone_model.rb
phone_sites-0.0.5a lib/phone_sites/phone_model.rb
phone_sites-0.0.4 lib/phone_sites/phone_model.rb