Sha256: be34e36bba239cfb8c9b828129f82f74e85b7083064280a1cc5bd52cff330db2

Contents?: true

Size: 172 Bytes

Versions: 5

Compression:

Stored size: 172 Bytes

Contents

module Githu3
  class Event < Githu3::Resource
    
    embeds_one :issue
    
    def to_s
      "#{date}: #{actor['login']} #{event} #{issue.title}"
    end
   
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
githu3-0.0.8 lib/githu3/event.rb
githu3-0.0.7 lib/githu3/event.rb
githu3-0.0.6 lib/githu3/event.rb
githu3-0.0.5 lib/githu3/event.rb
githu3-0.0.4 lib/githu3/event.rb