Sha256: 080b041d2659bd5d70fa5d20816af6dc5c9a3b04b172ec32de4d6f2f17c8339f

Contents?: true

Size: 224 Bytes

Versions: 5

Compression:

Stored size: 224 Bytes

Contents

module Bremen
  class Author
    attr_accessor :uid, :url, :name, :thumbnail_url

    def initialize attrs = {}
      attrs.each do |key, value|
        send("#{key}=", value) if respond_to?(key)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bremen-0.2.2 lib/bremen/author.rb
bremen-0.2.1 lib/bremen/author.rb
bremen-0.2.0 lib/bremen/author.rb
bremen-0.1.3 lib/bremen/author.rb
bremen-0.1.2 lib/bremen/author.rb