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



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

def action
    @payload['action']
end

#nameObject



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

def name
    @payload['page_name']
end

#shaObject



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

def sha
    @payload['sha']
end

#summaryObject



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

def summary
    @payload['summary']
end

#titleObject



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

def title
    @payload['title']
end