Class: GHArchive::Page

Inherits:
Entity
  • Object
show all
Defined in:
lib/gh-archive/entities.rb

Instance Method Summary collapse

Methods inherited from Entity

#initialize

Constructor Details

This class inherits a constructor from GHArchive::Entity

Instance Method Details

#actionObject



305
306
307
# File 'lib/gh-archive/entities.rb', line 305

def action
    @payload['action']
end

#nameObject



293
294
295
# File 'lib/gh-archive/entities.rb', line 293

def name
    @payload['page_name']
end

#shaObject



309
310
311
# File 'lib/gh-archive/entities.rb', line 309

def sha
    @payload['sha']
end

#summaryObject



301
302
303
# File 'lib/gh-archive/entities.rb', line 301

def summary
    @payload['summary']
end

#titleObject



297
298
299
# File 'lib/gh-archive/entities.rb', line 297

def title
    @payload['title']
end