cvut/kosapi_client.rb

View on GitHub
lib/kosapi_client/entity/author.rb

Summary

Maintainability
A
0 mins
Test Coverage
module KOSapiClient
  module Entity
    class Author

      attr_reader :name

      def initialize(name)
        @name = name
      end

      def self.parse(contents)
        new(contents[:atom_name])
      end
    end
  end
end