Class: GHArchive::DeleteEvent
- Inherits:
-
Event
- Object
- Event
- GHArchive::DeleteEvent
show all
- Defined in:
- lib/gh-archive/events.rb
Constant Summary
Constants inherited
from Event
Event::IMPLEMENTATIONS
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Event
#actor, #created_at, #initialize, #json, parse, #public?, #repo
Class Method Details
.fits?(json) ⇒ Boolean
347
348
349
|
# File 'lib/gh-archive/events.rb', line 347
def self.fits?(json)
return json['type'] == "DeleteEvent"
end
|
Instance Method Details
#pusher_type ⇒ Object
359
360
361
|
# File 'lib/gh-archive/events.rb', line 359
def pusher_type
@payload['pusher_type']
end
|
#ref ⇒ Object
351
352
353
|
# File 'lib/gh-archive/events.rb', line 351
def ref
@payload['ref']
end
|
#ref_type ⇒ Object
355
356
357
|
# File 'lib/gh-archive/events.rb', line 355
def ref_type
@payload['ref_type']
end
|