class GHArchive::Release
Public Instance Methods
assets()
click to toggle source
# File lib/gh-archive/entities.rb, line 274 def assets @payload['assets'] end
body()
click to toggle source
# File lib/gh-archive/entities.rb, line 286 def body @payload['body'] end
created_at()
click to toggle source
# File lib/gh-archive/entities.rb, line 266 def created_at Time.parse(@payload['created_at']) end
draft()
click to toggle source
# File lib/gh-archive/entities.rb, line 254 def draft @payload['draft'] end
id()
click to toggle source
# File lib/gh-archive/entities.rb, line 238 def id @payload['id'] end
name()
click to toggle source
# File lib/gh-archive/entities.rb, line 250 def name @payload['name'] end
prerelease()
click to toggle source
# File lib/gh-archive/entities.rb, line 262 def prerelease @payload['prerelease'] end
published_at()
click to toggle source
# File lib/gh-archive/entities.rb, line 270 def published_at Time.parse(@payload['published_at']) end
tag_name()
click to toggle source
# File lib/gh-archive/entities.rb, line 242 def tag_name @payload['tag_name'] end
tarball_url()
click to toggle source
# File lib/gh-archive/entities.rb, line 278 def tarball_url @payload['tarball_url'] end
target_commitish()
click to toggle source
# File lib/gh-archive/entities.rb, line 246 def target_commitish @payload['target_commitish'] end
url()
click to toggle source
# File lib/gh-archive/entities.rb, line 234 def url @payload['url'] end
zipball_url()
click to toggle source
# File lib/gh-archive/entities.rb, line 282 def zipball_url @payload['zipball_url'] end