Sha256: 6d77be9eea82e71e2646ab8f88a84394beb003c0a772f62095bd7fec306a1190
Contents?: true
Size: 366 Bytes
Versions: 2
Compression:
Stored size: 366 Bytes
Contents
module Thanos class Creator attr_reader :id, :first_name, :middle_name, :last_name, :suffix, :full_name, :description, :resource_uri, :urls, :thumbnail, :series, :stories, :comics, :events def initialize(args) args[:attributes].each do |attribute, value| instance_variable_set("@#{attribute}", value) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thanos-0.6.0 | lib/thanos/resources/creator.rb |
thanos-0.5.0 | lib/thanos/resources/creator.rb |